Funny you say that: https://github.com/rust-lang/rust/issues/131154
Looks like this is getting fixed in Rust 2024 :)
Looks like this is getting fixed in Rust 2024 :)
Through making if-let less syntax sugar for changing a implicit behavior people most likely didn't rely on but have problems with seems like a very good idea
My comment about this being hard to change was mainly about match. Not considering the option of making if-let less syntax sugary.
And in difference to if-let, for match people do (or at least did years ago in production code) rely on it.