mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
Simplify option-iterator flattening in the compiler In many cases where we are flattening `option::IntoIter<I>`, we can use `Option::into_flat_iter()` instead for a simpler implementation. A few other cases have more direct constructs available.