[][src]Function symbolic_demangle::demangle

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

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