[−][src]Function format_xml::spaced
pub fn spaced<T>(collection: T) -> impl Display where
T: IntoIterator,
<T as IntoIterator>::Item: Display,
<T as IntoIterator>::IntoIter: Clone,
Displays an iterable with spaces between each item.
let result = spaced(&[1, 2, 3, 4]).to_string(); assert_eq!(result, "1 2 3 4");