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 /rust/src/data_renderer.rs | |
| parent | 6eb12c3c3f53079a822881bf6e197105b25a0fe3 (diff) | |
[Rust] Fix misc clippy lints and warnings
These are introduced after changing to Rust 1.91.1
Diffstat (limited to 'rust/src/data_renderer.rs')
| -rw-r--r-- | rust/src/data_renderer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/data_renderer.rs b/rust/src/data_renderer.rs index 6fa19b59..e193b32d 100644 --- a/rust/src/data_renderer.rs +++ b/rust/src/data_renderer.rs @@ -235,7 +235,7 @@ unsafe extern "C" fn cb_free_lines( lines: *mut BNDisassemblyTextLine, count: usize, ) { - let lines = Box::from_raw(core::slice::from_raw_parts_mut(lines, count)); + let lines = Box::from_raw(std::ptr::slice_from_raw_parts_mut(lines, count)); for line in lines { let _ = DisassemblyTextLine::from_raw(&line); } |
