summaryrefslogtreecommitdiff
path: root/rust/src/architecture.rs
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2021-06-08 17:23:28 -0400
committerKyleMiles <krm504@nyu.edu>2021-07-07 23:27:28 -0400
commit8785e9d1a931d7562053fd6045b660a6211fbc1d (patch)
tree4506696e861fcffa3e321bd32e00621a90a42693 /rust/src/architecture.rs
parent013945b3efa885101db16990311093912775d1c6 (diff)
Rust API : Replace Platform::from_raw with Platform::ref_from_raw
Diffstat (limited to 'rust/src/architecture.rs')
-rw-r--r--rust/src/architecture.rs2
1 files changed, 1 insertions, 1 deletions
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))
}
}
}