Rust Internals
Idea: Early returns and irrefutability
language design
lordan
April 9, 2019, 4:36pm
50
FWIW, there was a similar discussion last year where I happened to make
the exact same proposal
.
show post in topic
Related topics
Topic
Replies
Views
Activity
"Irrefutable Pattern" Warnings in Let Chains
language design
45
2129
November 25, 2022
QOL improvements to Pattern matching and let else
language design
18
1011
September 22, 2024
RFC idea: let ... else, easy early returns when pattern matching
35
2924
January 3, 2020
If-let early return on non-match [Pre-Pre-RFC Discussion]
language design
18
2704
June 30, 2019
Conditional compilation with a if let enum matching which consists of one item
compiler
4
1548
March 25, 2019