From 1515df8e71412787470b27d04ed9b2944fca0fdc Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Wed, 10 Feb 2021 22:02:50 +0000 Subject: Misc typo changes, const changes, code cleanup, and example updates --- rust/src/binaryview.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/binaryview.rs') 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 } -- cgit v1.3.1