how can I get this code to compile? https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=382e6a927c23ceb451739ea8eb7bf2a3
I tried calling flatten on the iterator, but that turns Result<Option<T>> into Option<T>, which I don't want - I want Result<T>
A browser interface to the Rust compiler to experiment with the language
