diff options
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/types.rs | 5 |
1 files changed, 0 insertions, 5 deletions
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<Self> { debug_assert!(!handle.is_null()); Ref::new(Self { handle }) |
