Function tagger::moveable_format [−][src]
pub fn moveable_format(
func: impl Fn(&mut Formatter<'_>) -> Result
) -> impl Display
Expand description
Convert a moved closure into a impl fmt::Display.
This is useful because std’s format_args!()
macro
has a shorter lifetime.