From d5b10ea0c1aa80b391e99ff554adf15bc0501401 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 7 Mar 2024 12:31:06 +0000 Subject: chore: fix typos --- src/config/mod.rs | 2 +- src/repl/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/config/mod.rs b/src/config/mod.rs index ffdb942..d616f65 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -1000,7 +1000,7 @@ impl State { ] } - pub fn notin_session() -> Vec { + pub fn not_in_session() -> Vec { let excludes: HashSet<_> = Self::in_session().into_iter().collect(); Self::all() .into_iter() diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 6ce52f2..4c5540c 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -35,7 +35,7 @@ lazy_static! { ReplCommand::new( ".session", "Start a context-aware chat session", - State::notin_session(), + State::not_in_session(), ), ReplCommand::new(".info session", "Show session info", State::in_session(),), ReplCommand::new( -- cgit v1.2.3