Function rustc_data_structures::make_display
source · pub fn make_display(f: impl Fn(&mut Formatter<'_>) -> Result) -> impl DisplayExpand description
Turns a closure that takes an &mut Formatter into something that can be display-formatted.