summaryrefslogtreecommitdiff
path: root/rust/src/string.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-06-09 23:27:50 -0400
committerMason Reed <mason@vector35.com>2025-07-02 01:56:53 -0400
commitd0fcb25097c5390cc610a4c3ecbf66635c3adea0 (patch)
tree8f83fcfb74668a13351c27ce18fb8cde979d18cf /rust/src/string.rs
parent439cb137eebbd66b71fbc9cc5d7ab950fb6138c1 (diff)
[Rust] Expose `strings_to_string_list`
Need this for WARP plugin
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 0a1191d5..9092d163 100644
--- a/rust/src/string.rs
+++ b/rust/src/string.rs
@@ -36,7 +36,7 @@ pub(crate) fn raw_to_string(ptr: *const c_char) -> Option<String> {
}
}
-pub(crate) fn strings_to_string_list<I, S>(strings: I) -> *mut *mut c_char
+pub fn strings_to_string_list<I, S>(strings: I) -> *mut *mut c_char
where
I: IntoIterator<Item = S>,
// TODO make `S: BnStrCompatible,`