From c12b1e723587597451bbcc07499389df152e0fc6 Mon Sep 17 00:00:00 2001 From: cscherrNT Date: Thu, 27 Jun 2024 11:53:26 +0000 Subject: [PATCH] automatic cargo CI changes --- members/diesel-demo/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/diesel-demo/src/main.rs b/members/diesel-demo/src/main.rs index 32b1f93..7df25a4 100644 --- a/members/diesel-demo/src/main.rs +++ b/members/diesel-demo/src/main.rs @@ -41,7 +41,7 @@ fn repl(conn: &mut SqliteConnection) -> anyhow::Result<()> { loop { lib::read_buf_interactive(&mut buf)?; buf = buf.to_uppercase(); - if buf.starts_with("HELP") || buf.starts_with("?") { + if buf.starts_with("HELP") || buf.starts_with('?') { println!("{}", HELP_TEXT.bright_blue()) } else if buf.starts_with("EXIT") || buf.is_empty() { break;