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