pub fn tuple_pat(pats: impl IntoIterator<Item = Pat>) -> TuplePat
Expand description
Creates a tuple of patterns from an iterator of patterns.
Invariant: pats
must be length > 0
pub fn tuple_pat(pats: impl IntoIterator<Item = Pat>) -> TuplePat
Creates a tuple of patterns from an iterator of patterns.
Invariant: pats
must be length > 0