diff options
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> { |
