Re:Rust Additions for GCC 15 Bring Support for If-Let Statem...
by afdbcreid on Monday March 24, 2025 @07:59PM
(#43466706)
I will argue that it's not different, it's exactly the same thing. In both cases you are matching a pattern. The only difference is that in `if` and `while`, because they are conditional, the pattern is allowed to not match (refutable), while in bare `let` it must match (irrefutable).
[ Parent
| on HN ]
There are no comments on this comment yet.