[][src]Function chalk_solve::display::sanitize_debug_name

pub fn sanitize_debug_name(
    func: impl Fn(&mut Formatter<'_>) -> Option<Result>
) -> String

Processes a name given by an [Interner][chalk_ir::Interner] debug method into something usable by the display module.

This is specifically useful when implementing RustIrDatabase name_* methods.