summaryrefslogtreecommitdiff
path: root/rust/src/platform.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-05-04 15:38:54 -0400
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-05-12 17:45:24 -0400
commite180c955f9397849bdb1ea08f1e913ebac71ed5d (patch)
treea6c8e309e3a723c04e2d5085c0449bd8f3a10db5 /rust/src/platform.rs
parentbb68ef5ad6c3e6a391bc884763231ed3291a5f9e (diff)
[Rust] More cleanup
Diffstat (limited to 'rust/src/platform.rs')
-rw-r--r--rust/src/platform.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/platform.rs b/rust/src/platform.rs
index 6d2b30f0..65138c19 100644
--- a/rust/src/platform.rs
+++ b/rust/src/platform.rs
@@ -386,7 +386,7 @@ impl Platform {
assert!(!error_string.is_null());
Err(TypeParserError::new(
TypeParserErrorSeverity::FatalSeverity,
- unsafe { BnString::from_raw(error_string) }.to_string(),
+ unsafe { BnString::into_string(error_string) },
filename.to_string(),
0,
0,