mirror of
https://github.com/asciinema/asciinema.git
synced 2026-08-29 10:08:55 +02:00
Make clippy happy
This commit is contained in:
@@ -114,7 +114,7 @@ impl Parser {
|
||||
fn parse_line(&mut self, line: io::Result<String>) -> Option<Result<Event>> {
|
||||
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))
|
||||
|
||||
Reference in New Issue
Block a user