aboutsummaryrefslogtreecommitdiff
path: root/differential-tests
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-03-17 09:21:47 +0000
committeriximeow <me@iximeow.net>2024-03-17 09:21:47 +0000
commit3479c054c06b69c001096a059f6ced24eba1d56c (patch)
tree64cda7d683942929856b825e6f9243b8e314042b /differential-tests
parent4f0d693e1ce844f73e37e64b9bcda6d191fbda1c (diff)
differential tests: unnecessary mut
Diffstat (limited to 'differential-tests')
-rw-r--r--differential-tests/tests/capstone-differential.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/differential-tests/tests/capstone-differential.rs b/differential-tests/tests/capstone-differential.rs
index 7bfc7b4..7ca033e 100644
--- a/differential-tests/tests/capstone-differential.rs
+++ b/differential-tests/tests/capstone-differential.rs
@@ -361,7 +361,7 @@ fn capstone_differential() {
unsafe { capstone_sys::cs_open(capstone_sys::cs_arch::CS_ARCH_ARM64, capstone_sys::cs_mode(0), &mut csh as *mut capstone_sys::csh) },
0
);
- let mut cs_insn: *mut capstone_sys::cs_insn = unsafe { libc::malloc(std::mem::size_of::<capstone_sys::cs_insn>()) as *mut capstone_sys::cs_insn };
+ let cs_insn: *mut capstone_sys::cs_insn = unsafe { libc::malloc(std::mem::size_of::<capstone_sys::cs_insn>()) as *mut capstone_sys::cs_insn };
/*
let cs = Capstone::new()
.arm64()