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/platform.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/platform.rs') 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, -- cgit v1.3.1