diff options
| author | Mason Reed <mason@vector35.com> | 2025-12-04 15:10:40 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-12-05 12:26:29 -0500 |
| commit | 6546844ca4274cd11ec2c91da7c6d7b5e8a82d0b (patch) | |
| tree | 7341b815993247cba9df7ea95585ce9723510fa0 /plugins/warp/src/convert | |
| parent | 6eb12c3c3f53079a822881bf6e197105b25a0fe3 (diff) | |
[Rust] Fix misc clippy lints and warnings
These are introduced after changing to Rust 1.91.1
Diffstat (limited to 'plugins/warp/src/convert')
| -rw-r--r-- | plugins/warp/src/convert/types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/warp/src/convert/types.rs b/plugins/warp/src/convert/types.rs index 2401a039..f8ead6af 100644 --- a/plugins/warp/src/convert/types.rs +++ b/plugins/warp/src/convert/types.rs @@ -281,7 +281,7 @@ pub fn to_bn_calling_convention<A: BNArchitecture>( // Always pass the architecture unless you know what you're doing! pub fn to_bn_type<A: BNArchitecture + Copy>(arch: Option<A>, ty: &Type) -> BNRef<BNType> { - let bits_to_bytes = |val: u64| (val / 8); + let bits_to_bytes = |val: u64| val / 8; let addr_size = arch.map(|a| a.address_size()).unwrap_or(8) as u64; match &ty.class { TypeClass::Void => BNType::void(), |
