Hacker News new | past | comments | ask | show | jobs | submit login

It might be more accurate to call what Rust can do to function arguments "destructuring" rather than "pattern matching"

Destructuring is a feature of pattern matching, so yeah, this is slightly more specific. I don't think "pattern matching" is incorrect, though.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact