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()");