Function fmty::join_tuple

source ·
pub fn join_tuple<T, S>(tuple: T, sep: S) -> JoinTuple<T, S>
Expand description

Concatenates tuple items with a separator between each.

Examples

let value = fmty::join_tuple(("hola", "mundo"), " ");
assert_eq!(value.to_string(), "hola mundo");