Function fmty::concat_tuple

source ·
pub fn concat_tuple<T>(tuple: T) -> ConcatTuple<T>
Expand description

Concatenates tuple items that may be different types.

This function is limited to tuples of length 12. Consider using concat! if this limit is too low.

Examples

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