Function ra_ap_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.