diff options
| author | Mason Reed <mason@vector35.com> | 2025-05-04 15:38:54 -0400 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2025-05-12 17:45:24 -0400 |
| commit | e180c955f9397849bdb1ea08f1e913ebac71ed5d (patch) | |
| tree | a6c8e309e3a723c04e2d5085c0449bd8f3a10db5 /rust/src/interaction.rs | |
| parent | bb68ef5ad6c3e6a391bc884763231ed3291a5f9e (diff) | |
[Rust] More cleanup
Diffstat (limited to 'rust/src/interaction.rs')
| -rw-r--r-- | rust/src/interaction.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String> { 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<i64> { |
