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