Nice: let-else will be stabilized in 1.65 🥳 🎉

It is especially useful for matching custom enum types (enums that are not `Option` or `Result`) and handling the error case close to the actual matching.

See some examples in the RFC:

· · Web · 0 · 1 · 3
Sign in to participate in the conversation
Mastodon for Tech Folks is shutting down by the end of 2022. Please migrate your data immediately. This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!