diff options
| author | sigoden <sigoden@gmail.com> | 2023-10-30 15:08:49 +0800 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2023-10-30 15:08:49 +0800 |
| commit | 2168610dbda294420a88a0bee4e56157c8fa3407 (patch) | |
| tree | 66c34330dfff710e91834328e71c426d8ed4cbdc /src/main.rs | |
| parent | 23e9fb5bbf96cd4a93f4150659a99b4055623b9f (diff) | |
| download | aichat-2168610dbda294420a88a0bee4e56157c8fa3407.tar.gz | |
chore: spellcheck
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index a7850b5..a23a81f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -101,8 +101,8 @@ fn start_directive( input: &str, no_stream: bool, ) -> Result<()> { - if let Some(sesion) = &config.read().session { - sesion.guard_save()?; + if let Some(session) = &config.read().session { + session.guard_save()?; } if !stdout().is_terminal() { config.write().highlight = false; |
