rust/clippy_lints
bors 5ec2e192f5 Auto merge of #10614 - bluthej:clear-with-drain, r=Manishearth
Clear with drain

Fixes #10572: both the original intent of the issue (extending `clear_with_drain`) and the false negative for `collection_is_never_read` I found in the process are fixed by this PR.

changelog: [`clear_with_drain`]: extend to 5 other types of containers. [`collection_is_never_read`]: fix false negative for `String`s.
2023-04-11 00:29:21 +00:00
..
src Auto merge of #10614 - bluthej:clear-with-drain, r=Manishearth 2023-04-11 00:29:21 +00:00
Cargo.toml Migrate format_args.rs to rustc_ast::FormatArgs 2023-03-28 12:22:22 +00:00
README.md

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