summaryrefslogtreecommitdiff
path: root/rust/src/binary_view.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-05-12 12:06:22 -0400
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-05-12 17:45:24 -0400
commitd5bac712c9fa269aaeb016648116d3147edf3855 (patch)
tree3fe6030d2576883b1762578bcd92ea8b450bf50a /rust/src/binary_view.rs
parent3b14d1605cf9ea638a0d058911a8c1e233a9f70d (diff)
[Rust] Misc cleanup
Diffstat (limited to 'rust/src/binary_view.rs')
-rw-r--r--rust/src/binary_view.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/binary_view.rs b/rust/src/binary_view.rs
index 1aa97891..4379e7f5 100644
--- a/rust/src/binary_view.rs
+++ b/rust/src/binary_view.rs
@@ -1163,7 +1163,7 @@ pub trait BinaryViewExt: BinaryViewBase {
if settings_handle.is_null() {
Err(())
} else {
- Ok(unsafe { Settings::from_raw(settings_handle) })
+ Ok(unsafe { Settings::ref_from_raw(settings_handle) })
}
}