diff options
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/architecture.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/architecture.rs b/rust/src/architecture.rs index 3344b2af..d226230c 100644 --- a/rust/src/architecture.rs +++ b/rust/src/architecture.rs @@ -1403,7 +1403,7 @@ pub struct CoreArchitecture { impl CoreArchitecture { // TODO: Leave a note on architecture lifetimes. Specifically that they are never freed. - pub(crate) unsafe fn from_raw(handle: *mut BNArchitecture) -> Self { + pub unsafe fn from_raw(handle: *mut BNArchitecture) -> Self { debug_assert!(!handle.is_null()); CoreArchitecture { handle } } |
