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/language_representation.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/language_representation.rs')
| -rw-r--r-- | rust/src/language_representation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/language_representation.rs b/rust/src/language_representation.rs index 6008ec0c..34524b96 100644 --- a/rust/src/language_representation.rs +++ b/rust/src/language_representation.rs @@ -507,7 +507,7 @@ unsafe extern "C" fn cb_free_lines( count: usize, ) { let lines: Box<[BNDisassemblyTextLine]> = - Box::from_raw(core::slice::from_raw_parts_mut(lines, count)); + Box::from_raw(std::ptr::slice_from_raw_parts_mut(lines, count)); for line in lines { DisassemblyTextLine::free_raw(line); } |
