From 7ba6d6891e94b82fa348c2f5675165804a18110a Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Thu, 8 Feb 2024 22:44:34 +0100 Subject: [PATCH] Fix new clippy lint --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 93e78ad..2f90430 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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), } }