From 8785e9d1a931d7562053fd6045b660a6211fbc1d Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Tue, 8 Jun 2021 17:23:28 -0400 Subject: Rust API : Replace Platform::from_raw with Platform::ref_from_raw --- rust/src/binaryview.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/binaryview.rs') 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)) } } -- cgit v1.3.1