make clippy happy

This commit is contained in:
Tamo
2024-07-10 00:05:43 +02:00
parent 952e742321
commit 4d5005b01a
5 changed files with 10 additions and 6 deletions

View File

@ -25,7 +25,7 @@ impl RoaringBitmapLenCodec {
}
};
if size > u16::max_value() as usize + 1 {
if size > u16::MAX as usize + 1 {
return Err(io::Error::new(io::ErrorKind::Other, "size is greater than supported"));
}