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/architecture.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/architecture.rs') diff --git a/rust/src/architecture.rs b/rust/src/architecture.rs index 960dc740..0d1bd501 100644 --- a/rust/src/architecture.rs +++ b/rust/src/architecture.rs @@ -1233,7 +1233,7 @@ pub trait ArchitectureExt: Architecture { return None; } - Some(Ref::new(Platform::from_raw(handle))) + Some(Platform::ref_from_raw(handle)) } } } -- cgit v1.3.1