Make clippy happy

This commit is contained in:
Clément Renault
2023-04-26 18:35:06 +02:00
committed by Louis Dureuil
parent 702041b7e1
commit f36de2115f
3 changed files with 4 additions and 4 deletions

View File

@ -18,6 +18,6 @@ impl<'a> BytesDecode<'a> for FstSetCodec {
type DItem = Set<&'a [u8]>;
fn bytes_decode(bytes: &'a [u8]) -> Option<Self::DItem> {
Some(Set::new(bytes).ok()?)
Set::new(bytes).ok()
}
}