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 --- rust/src/language_representation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/language_representation.rs') 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); } -- cgit v1.3.1