Hacker News new | ask | show | jobs
by misnome 1254 days ago
I also (written a few tools in rust, dabble now and then) was under the impression that it only worked with Result. Is this recent or just never encountered?
1 comments

? is able to be used with Option as of Rust 1.22, released in November of 2017 https://blog.rust-lang.org/2017/11/22/Rust-1.22.html
Well, I guess this counts as a concept I wish I learned earlier!