Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
piinbinary
· 8y ago · 0 comments
It might be more accurate to call what Rust can do to function arguments "destructuring" rather than "pattern matching"
Comments
[–]
steveklabnik
8y ago
Destructuring is a feature of pattern matching, so yeah, this is slightly more specific. I don't think "pattern matching" is incorrect, though.