pub fn bracketed<'a, D>(
open: &'a str,
close: &'a str,
contents: D,
) -> impl Display + 'awhere
D: Display + 'a,
Expand description
Creates a type whose fmt::Display
implementation outputs item preceded
by open
and followed by close
.