Make clippy happy

This commit is contained in:
Marcin Kulik
2025-06-19 23:49:37 +02:00
parent d8ebd373a1
commit 68b64a84ed

View File

@@ -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))