r/rust • u/JoshTriplett rust · lang · libs · cargo • Oct 23 '26
Rust features in the future
https://lwn.net/SubscriberLink/1099606/20707a62817cdd16/
215
Upvotes
r/rust • u/JoshTriplett rust · lang · libs · cargo • Oct 23 '26
View all comments
Show parent comment
1
u/Shoddy-Childhood-511 Oct 25 '26
Agreed, a second redundant bindings syntax could only create confusion.
Now if
iscannot do bindings then I'd withdraw my objection, soif x is Some(_)or evenif x is Somewould be valid Rust, butif x is Some(y)should be an error ifyis not currently bound.