Demangle curly braces

They show up in things like
fn(&std..panic..PanicInfo<'_>) $u7b$hook$u7d$::fn_pointer_shim.8352::h01f889b2277c719d
This commit is contained in:
Steven Fackler 2016-07-10 10:04:20 -07:00
parent 46e7f4b8c5
commit 8511b6faf4

View File

@ -170,7 +170,9 @@ pub fn demangle(writer: &mut Write, s: &str) -> io::Result<()> {
"$u20$", => b" ",
"$u27$", => b"'",
"$u5b$", => b"[",
"$u5d$", => b"]"
"$u5d$", => b"]",
"$u7b$", => b"{",
"$u7d$", => b"}"
)
} else {
let idx = match rest.find('$') {