diff options
| author | Valentin Popov <valentin@popov.link> | 2026-07-18 04:31:39 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-07-18 04:31:39 +0300 |
| commit | fbe5a8497a9d8b9b7093182f51c506825d6e34cf (patch) | |
| tree | d14a6442ada46707eebf1948eea8d0337fe8edc8 /crates/fparkan-nres/src/lib.rs | |
| parent | 2da28d0495e75a0954c194e2e0c4db03c23cb05f (diff) | |
| download | fparkan-fbe5a8497a9d8b9b7093182f51c506825d6e34cf.tar.xz fparkan-fbe5a8497a9d8b9b7093182f51c506825d6e34cf.zip | |
fix(clippy): address Rust 1.97 lints
Diffstat (limited to 'crates/fparkan-nres/src/lib.rs')
| -rw-r--r-- | crates/fparkan-nres/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/fparkan-nres/src/lib.rs b/crates/fparkan-nres/src/lib.rs index 86dd613..778b76b 100644 --- a/crates/fparkan-nres/src/lib.rs +++ b/crates/fparkan-nres/src/lib.rs @@ -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) )); } |
