[][src]Function ra_ap_syntax::ast::make::tuple_pat

pub fn tuple_pat(pats: impl IntoIterator<Item = Pat>) -> TuplePat

Creates a tuple of patterns from an interator of patterns.

Invariant: pats must be length > 1

FIXME handle pats length == 1