short_fn_name

Function short_fn_name 

Source
fn short_fn_name(tcx: TyCtxt<'_>, def_id: DefId) -> String
Expand description

Extract the last segment of a def-path (the bare function name).