diff options
| author | KyleMiles <krm504@nyu.edu> | 2021-02-10 22:02:50 +0000 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2021-03-17 23:43:59 +0000 |
| commit | 1515df8e71412787470b27d04ed9b2944fca0fdc (patch) | |
| tree | 400fbc792da7de1cc62e0fae171aae2bdf346869 /rust/src/binaryview.rs | |
| parent | 41e11f8387ebb3275da31994b85a7a8b6256eb99 (diff) | |
Misc typo changes, const changes, code cleanup, and example updates
Diffstat (limited to 'rust/src/binaryview.rs')
| -rw-r--r-- | rust/src/binaryview.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/binaryview.rs b/rust/src/binaryview.rs index a011b9e0..528e3374 100644 --- a/rust/src/binaryview.rs +++ b/rust/src/binaryview.rs @@ -620,7 +620,7 @@ pub struct BinaryView { } impl BinaryView { - pub unsafe fn from_raw(handle: *mut BNBinaryView) -> Self { + pub(crate) unsafe fn from_raw(handle: *mut BNBinaryView) -> Self { debug_assert!(!handle.is_null()); Self { handle } |
