From e180c955f9397849bdb1ea08f1e913ebac71ed5d Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 4 May 2025 15:38:54 -0400 Subject: [Rust] More cleanup --- rust/src/interaction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/interaction.rs') diff --git a/rust/src/interaction.rs b/rust/src/interaction.rs index 4a74127b..23dcaf85 100644 --- a/rust/src/interaction.rs +++ b/rust/src/interaction.rs @@ -37,7 +37,7 @@ pub fn get_text_line_input(prompt: &str, title: &str) -> Option { return None; } - Some(unsafe { BnString::from_raw(value).to_string() }) + Some(unsafe { BnString::into_string(value) }) } pub fn get_integer_input(prompt: &str, title: &str) -> Option { -- cgit v1.3.1