summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-02-15 20:08:06 -0500
committerGlenn Smith <glenn@vector35.com>2022-02-16 15:32:39 -0500
commit925323f286e2ff2b866c2c65cdcc342cafa4afe7 (patch)
tree0540cb24a37fad76fa46d20af49c0a6ac402b916 /rust
parentff9ee07f19597d90ac68d0bd04ab58947f2e604f (diff)
Escape type names and definitions
Closes #2427, #2585, #1658, #1632, probably others
Diffstat (limited to 'rust')
-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))
})
}
}