fix(clippy): address Rust 1.97 lints
This commit is contained in:
1 parent
2da28d0495
commit
fbe5a8497a
8 files changed
+31
-25
No files matched your search
@@ -1270,7 +1270,7 @@ mod tests {
|
||||
Err(NresError::Binary(DecodeError::LimitExceeded {
|
||||
count,
|
||||
limit
|
||||
})) if count == i32::MAX as u64 && limit == DecodeLimits::default().max_entries as u64
|
||||
})) if count == i32::MAX as u64 && limit == u64::from(DecodeLimits::default().max_entries)
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user