2f0e9f7d3a
Applies for `std::collections::hash_map::Entry` and `std::collections::btree_map::Entry` Example: Previously, for the following code: `let _ = hash_map.entry("test".to_owned()).or_insert(vec![]);` clippy would suggest to use: `or_insert_with(vec![])`, which causes a compiler error (E0277). Now clippy suggests: `or_insert_with(Vec::new)` |
||
---|---|---|
.. | ||
bind_instead_of_map.rs | ||
bytes_nth.rs | ||
filter_map_identity.rs | ||
inefficient_to_string.rs | ||
inspect_for_each.rs | ||
manual_saturating_arithmetic.rs | ||
mod.rs | ||
option_map_unwrap_or.rs | ||
unnecessary_filter_map.rs | ||
unnecessary_lazy_eval.rs |