rust/clippy_lints
bors d5223be2e3 Auto merge of #6601 - mdm:fix-unit-args-false-positive, r=camsteffen
Fix false positive for unit_arg lint

Fixes #6447

To avoid false positives don't complain about unit args when they come from a path expression, e.g. a local variable.

**Note:** This is my first contribution to Clippy, so I might have messed up somewhere. Any feedback is welcome and I'm happy to work out any kinks.

---

changelog: Do not lint unit arguments when they come from a path expression.
2021-02-25 21:16:02 +00:00
..
src Auto merge of #6601 - mdm:fix-unit-args-false-positive, r=camsteffen 2021-02-25 21:16:02 +00:00
Cargo.toml Get tests to pass 2021-02-23 18:50:30 -05:00
README.md

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