symbolic_demangle

Function demangle

Source
pub fn demangle(ident: &str) -> Cow<'_, str>
Expand description

Demangles an identifier and falls back to the original symbol.

This is a shortcut for Demangle::try_demangle with complete demangling.

ยงExamples

assert_eq!(symbolic_demangle::demangle("_ZN3foo3barEv"), "foo::bar()");