Function shlex::join

source ·
pub fn join<'a, I: IntoIterator<Item = &'a str>>(words: I) -> String
Expand description

Convenience function that consumes an iterable of words and turns it into a single string, quoting words when necessary. Consecutive words will be separated by a single space.