3 ms·
It might be more accurate to call what Rust can do to function arguments "destructuring" rather than "pattern matching"
by piinbinary 9y ago
It might be more accurate to call what Rust can do to function arguments "destructuring" rather than "pattern matching"
- steveklabnik 9y agoDestructuring is a feature of pattern matching, so yeah, this is slightly more specific. I don't think "pattern matching" is incorrect, though.