rust/clippy_lints
bors 357c6a7e27 Auto merge of #6646 - nahuakang:for_loops_over_options_or_results, r=flip1995
New Lint: Manual Flatten

This is a draft PR for [Issue 6564](https://github.com/rust-lang/rust-clippy/issues/6564).

r? `@camsteffen`

- \[x] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`

---

*Please write a short comment explaining your change (or "none" for internal only changes)*
changelog: Add new lint [`manual_flatten`] to check for loops over a single `if let` expression with `Result` or `Option`.
2021-02-04 10:03:45 +00:00
..
src Auto merge of #6646 - nahuakang:for_loops_over_options_or_results, r=flip1995 2021-02-04 10:03:45 +00:00
Cargo.toml Get rid of regex and lazy_static dependencies 2021-01-30 17:43:00 +01:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.