News for hackers. Stuff that matters.
Re:Modern C++ Won't Save Us by steveklabnik on Thursday April 25, 2019 @03:53PM (#19751865)
Yes, you have to use if let, not let. That code would be a compiler error. (Specifically, a “non-exhaustive pattern” error.)

There are no comments on this comment yet.