diff options
author | Dan Davison <dandavison7@gmail.com> | 2024-03-04 16:34:32 -0500 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2024-03-04 16:34:32 -0500 |
commit | d41d02d10f92222ee56e31caa64ca4ebf7da3f41 (patch) | |
tree | 200d85a007160168782d2de8e20d231131d62d68 | |
parent | 8ff5ff46d42cf34b6f1b057db72b2ed9f5db8e83 (diff) |
Fix clippy complaints
-rw-r--r-- | src/handlers/grep.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers/grep.rs b/src/handlers/grep.rs index 4cc93ab2..b7f2dc53 100644 --- a/src/handlers/grep.rs +++ b/src/handlers/grep.rs @@ -688,7 +688,7 @@ pub fn parse_grep_line(line: &str) -> Option<GrepLine> { pub fn parse_raw_grep_line(raw_line: &str) -> Option<GrepLine> { // Early exit if we don't have an escape sequence - if !raw_line.starts_with("\x1b") { + if !raw_line.starts_with('\x1b') { return None; } if !matches!( |