Skip to content

Commit

Permalink
appease new clippy requirement
Browse files Browse the repository at this point in the history
It's in legacy serialization testing code, so it's going to be removed
soon anyway.
wprzytula committed Jan 9, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 57ad5ad commit 0eb98bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scylla-cql/src/types/serialize/batch.rs
Original file line number Diff line number Diff line change
@@ -384,7 +384,7 @@ where
fn is_empty_next(&mut self) -> Option<bool> {
self.0
.next_serialized()
.map(|sv| sv.map_or(false, |sv| sv.len() == 0))
.map(|sv| sv.is_ok_and(|sv| sv.len() == 0))
}

#[inline]

0 comments on commit 0eb98bc

Please sign in to comment.