Skip to content

Commit

Permalink
Fix new clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrandt committed Feb 8, 2024
1 parent 1b38bc8 commit 7ba6d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ where
match self.next_chunk()? {
// Make sure we didn't get an empty chunk. Should only happen in
// cases where we trim.
(_, chunk) if chunk.is_empty() => continue,
(_, "") => continue,
c => return Some(c),
}
}
Expand Down

0 comments on commit 7ba6d68

Please sign in to comment.