mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +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.