Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #11081 - WaffleLapkin:no_for_in_option, r=epage
Don't use `for` loop on an `Option` This PR removes a single `for` loop over `Option`, replacing it with an `if let` to improve code clarity. This currently blocks rust-lang/rust#99696 that adds a lint against this pattern.
- Loading branch information