diff options
Diffstat (limited to 'rust/src/debuginfo.rs')
| -rw-r--r-- | rust/src/debuginfo.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/debuginfo.rs b/rust/src/debuginfo.rs index 1353f8b1..bafa9cc4 100644 --- a/rust/src/debuginfo.rs +++ b/rust/src/debuginfo.rs @@ -141,8 +141,8 @@ impl DebugInfoParser { } /// Returns the name of the current parser - pub fn name(&self) -> BnString { - unsafe { BnString::from_raw(BNGetDebugInfoParserName(self.handle)) } + pub fn name(&self) -> String { + unsafe { BnString::into_string(BNGetDebugInfoParserName(self.handle)) } } /// Returns whether this debug-info parser is valid for the provided binary view |
