rust/clippy_lints
bors b9ca3195ab Auto merge of #9791 - smoelius:issues-9739-9782, r=Jarcho
Address issues 9739 and 9782

This PR fixes #9739 in the manner I suggested in https://github.com/rust-lang/rust-clippy/issues/9739#issuecomment-1296802376.

This PR also fixes the compilation failures in #9782 (but doesn't address `@e00E's` other objections).

Fixes #9739

r? `@Jarcho`

changelog: Fix two `needless_borrow` false positives, one involving borrows in `if`-`else`s, the other involving qualified function calls
2022-11-08 14:15:40 +00:00
..
src Auto merge of #9791 - smoelius:issues-9739-9782, r=Jarcho 2022-11-08 14:15:40 +00:00
Cargo.toml Generate lint categories and explanations with declare_clippy_lint 2022-10-23 20:32:26 +00:00
foo.txt Bless all let_underscore tests 2022-11-04 21:21:55 -07:00
README.md clippy_lints: readme: don't mention crates.io since it is no longer used to publish clippy. 2020-03-10 01:05:54 +01:00

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