Skip to content

Commit

Permalink
Fix new clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Jan 1, 2024
1 parent e8d0a2c commit 89e1a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ impl<'item, I: Iterator<Item = (usize, &'item [u8])>> FallibleIterator for LineP
"Line not in key=value format",
))
}
Some(i) if i == 1 => line[0],
Some(1) => line[0],
_ => {
return Err(ParserError::InvalidLineFormat(
n,
Expand Down

0 comments on commit 89e1a86

Please sign in to comment.