From 4464137ca6f3f7accb95f243e2d4ebbcd6a6b6ed Mon Sep 17 00:00:00 2001 From: sundy-li <543950155@qq.com> Date: Thu, 4 Apr 2024 03:01:32 +0800 Subject: [PATCH] update --- cli/src/session.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/session.rs b/cli/src/session.rs index 98346468..f2c7ad22 100644 --- a/cli/src/session.rs +++ b/cli/src/session.rs @@ -397,7 +397,7 @@ impl Session { ) -> Result> { let query = query.trim_end_matches(';').trim(); - if is_repl && query.starts_with("!") { + if is_repl && query.starts_with('!') { return self.handle_commands(query).await; }