diff options
| author | KyleMiles <krm504@nyu.edu> | 2023-01-10 00:01:35 -0500 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2023-01-10 00:12:29 -0500 |
| commit | da6e583784879f845bc5d80861b695bb899557bf (patch) | |
| tree | d8f2c337d577b4d2a8e8053209a996f6013eed7e /rust/src/types.rs | |
| parent | 90c6cc90b6c1e80d2f26434f37d687b39a692945 (diff) | |
Rust API: Remove extra function
Diffstat (limited to 'rust/src/types.rs')
| -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 }) |
