From 925323f286e2ff2b866c2c65cdcc342cafa4afe7 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 15 Feb 2022 20:08:06 -0500 Subject: Escape type names and definitions Closes #2427, #2585, #1658, #1632, probably others --- rust/src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src') 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 { 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)) }) } } -- cgit v1.3.1