mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-06 13:36:52 +00:00
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.