1
Let else statement in Rust (doc.rust-lang.org)
submitted 1 year ago by gbin@lemmy.ca to c/programming@beehaw.org

I just discovered this one right after discovering the if-let, this is amazing to be able to do positive and negative pattern matching without using a full blown match statement!

People are complaining that Rust is adding too many features to the language but I have to admit those recent additions are very good... What do you think?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 04 Jul 2023
1 points (100.0% liked)

Programming

13269 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS