8b54f1e2d9
Restrict `same_item_push` to suppress false positives It only emits a lint when the pushed item is a literal, a constant and an immutable binding that are initialized with those, as discussed in https://github.com/rust-lang/rust-clippy/pull/5997#pullrequestreview-483005186. Fix https://github.com/rust-lang/rust-clippy/issues/5985 changelog: Restrict `same_item_push` to literals, constants and immutable bindings that are initialized with those. r? `@ebroto` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |