We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cc8790 commit bd7342fCopy full SHA for bd7342f
crates/repl_cli/src/lib.rs
@@ -64,7 +64,7 @@ pub fn main() -> i32 {
64
if line
65
.lines()
66
.map(|ln| ln.trim())
67
- .all(|ln| ln.is_empty() || ln.starts_with("#"))
+ .all(|ln| ln.is_empty() || ln.starts_with('#'))
68
{
69
// if there are only whitespaces and comments, don't run it
70
println!();
0 commit comments