diff --git a/crates/repl_cli/src/lib.rs b/crates/repl_cli/src/lib.rs index fca3ac215f8..6f9289e6f55 100644 --- a/crates/repl_cli/src/lib.rs +++ b/crates/repl_cli/src/lib.rs @@ -64,7 +64,7 @@ pub fn main() -> i32 { if line .lines() .map(|ln| ln.trim()) - .all(|ln| ln.is_empty() || ln.starts_with("#")) + .all(|ln| ln.is_empty() || ln.starts_with('#')) { // if there are only whitespaces and comments, don't run it println!();