summaryrefslogtreecommitdiff
path: root/rust/src/language_representation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/language_representation.rs')
-rw-r--r--rust/src/language_representation.rs2
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);
}