summaryrefslogtreecommitdiff
path: root/rust/src/binaryview.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/binaryview.rs')
-rw-r--r--rust/src/binaryview.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/binaryview.rs b/rust/src/binaryview.rs
index b2b3dca6..21239fc2 100644
--- a/rust/src/binaryview.rs
+++ b/rust/src/binaryview.rs
@@ -247,7 +247,7 @@ pub trait BinaryViewExt: BinaryViewBase {
return None;
}
- Some(Ref::new(Platform::from_raw(raw)))
+ Some(Platform::ref_from_raw(raw))
}
}