3 ms·
Note that this feature has precedence from Swift, where it's called `guard let`: https://www.hackingwithswift.com/quick-start/understanding-swift/when-to-use-gu
by kibwen 4y ago
Note that this feature has precedence from Swift, where it's called `guard let`: https://www.hackingwithswift.com/quick-start/understanding-swift/when-to-use-guard-let-rather-than-if-let https://www.hackingwithswift.com/quick-start/understanding-s... . Rust's syntax just drops the `guard` part.