2 ms·
The feature in question (`if let`) was added pretty recently. The RFC even mentions Swift! ;-) https://github.com/rust-lang/rfcs/blob/master/text/0160-if-let.md
by burntsushi 11y ago
The feature in question (`if let`) was added pretty recently. The RFC even mentions Swift! ;-) https://github.com/rust-lang/rfcs/blob/master/text/0160-if-let.md#detailed-design https://github.com/rust-lang/rfcs/blob/master/text/0160-if-l...
- sinistersnare 11y agoYup, we hard stole if-let from Swift ;). We even made it better!