pub fn clean_function(symbol: &str) -> String
Reduce a demangled symbol to its last segment, dropping ::{{closure}} and the ::hXXXX hash suffix.
::{{closure}}
::hXXXX