summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/types.rs b/rust/src/types.rs
index 102d064c..3afc9c9d 100644
--- a/rust/src/types.rs
+++ b/rust/src/types.rs
@@ -957,7 +957,7 @@ impl From<&TypeBuilder> for Ref<Type> {
impl fmt::Display for Type {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}", unsafe {
- BnString::from_raw(BNGetTypeString(self.handle, ptr::null_mut()))
+ BnString::from_raw(BNGetTypeString(self.handle, ptr::null_mut(), BNTokenEscapingType::NoTokenEscapingType))
})
}
}