a2bf404d34
Add lint: from_iter_instead_of_collect Fixes #5679 This implements lint for `::from_iter()` from #5679 not the general issue (`std::ops::Add::add`, etc.). This lint checks if expression is function call with `from_iter` name and if it's implementation of the `std::iter::FromIterator` trait. changelog: Introduce from_iter_instead_of_collect lint |
||
---|---|---|
.. | ||
bind_instead_of_map.rs | ||
inefficient_to_string.rs | ||
manual_saturating_arithmetic.rs | ||
mod.rs | ||
option_map_unwrap_or.rs | ||
unnecessary_filter_map.rs | ||
unnecessary_lazy_eval.rs |