summaryrefslogtreecommitdiff
path: root/rust/src/string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/string.rs')
-rw-r--r--rust/src/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/string.rs b/rust/src/string.rs
index 9092d163..c7d541ce 100644
--- a/rust/src/string.rs
+++ b/rust/src/string.rs
@@ -86,7 +86,7 @@ impl BnString {
}
/// Free a raw string allocated by [`BNAllocString`].
- pub(crate) unsafe fn free_raw(raw: *mut c_char) {
+ pub unsafe fn free_raw(raw: *mut c_char) {
if !raw.is_null() {
BNFreeString(raw);
}