summaryrefslogtreecommitdiff
path: root/rust/src/section.rs
diff options
context:
space:
mode:
authorRubens Brandão <git@rubens.io>2025-12-11 17:19:35 +0000
committerGitHub <noreply@github.com>2025-12-11 12:19:35 -0500
commit8e4bfe3f71232ab6e8332d4c7903290a1396f9b9 (patch)
treeb87e530dc65f6fd5a8b132598f23aca7657aa401 /rust/src/section.rs
parent83839571880d248d1b07c8eed4d1ec12d074bfd9 (diff)
[Rust] Implement data notification API
Diffstat (limited to 'rust/src/section.rs')
-rw-r--r--rust/src/section.rs2
1 files changed, 1 insertions, 1 deletions
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 }
}