From 8e4bfe3f71232ab6e8332d4c7903290a1396f9b9 Mon Sep 17 00:00:00 2001 From: Rubens Brandão Date: Thu, 11 Dec 2025 17:19:35 +0000 Subject: [Rust] Implement data notification API --- rust/src/section.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/section.rs') diff --git a/rust/src/section.rs b/rust/src/section.rs index 75b3e836..ca27a3ad 100644 --- a/rust/src/section.rs +++ b/rust/src/section.rs @@ -67,7 +67,7 @@ pub struct Section { } impl Section { - unsafe fn from_raw(handle: *mut BNSection) -> Self { + pub(crate) unsafe fn from_raw(handle: *mut BNSection) -> Self { debug_assert!(!handle.is_null()); Self { handle } } -- cgit v1.3.1