mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
af7134e7de
At the `if` branch `filter` (the `let` binding) is `None` iff `filter` (the parameter) was `None`. We can branch on the parameter, move the binding into the `if`, and the complexity of handling `Option<Option<_>` largely dissolves.