From da6e583784879f845bc5d80861b695bb899557bf Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Tue, 10 Jan 2023 00:01:35 -0500 Subject: Rust API: Remove extra function --- rust/src/types.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'rust/src') diff --git a/rust/src/types.rs b/rust/src/types.rs index 5d524c76..98fab7a1 100644 --- a/rust/src/types.rs +++ b/rust/src/types.rs @@ -1464,11 +1464,6 @@ pub struct Enumeration { } impl Enumeration { - unsafe fn from_raw(handle: *mut BNEnumeration) -> Self { - debug_assert!(!handle.is_null()); - Self { handle } - } - pub(crate) unsafe fn ref_from_raw(handle: *mut BNEnumeration) -> Ref { debug_assert!(!handle.is_null()); Ref::new(Self { handle }) -- cgit v1.3.1