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