From 6546844ca4274cd11ec2c91da7c6d7b5e8a82d0b Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 4 Dec 2025 15:10:40 -0500 Subject: [Rust] Fix misc clippy lints and warnings These are introduced after changing to Rust 1.91.1 --- plugins/warp/src/convert/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/warp/src/convert') 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( // Always pass the architecture unless you know what you're doing! pub fn to_bn_type(arch: Option, ty: &Type) -> BNRef { - 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(), -- cgit v1.3.1