diff --git a/src/asciicast/v3.rs b/src/asciicast/v3.rs index ced4467..56e1ad1 100644 --- a/src/asciicast/v3.rs +++ b/src/asciicast/v3.rs @@ -114,7 +114,7 @@ impl Parser { fn parse_line(&mut self, line: io::Result) -> Option> { match line { Ok(line) => { - if line.is_empty() || line.starts_with("#") { + if line.is_empty() || line.starts_with('#') { None } else { Some(self.parse_event(line))