rust/clippy_lints/src/methods
bors 6ac42fe6fa Auto merge of #7971 - togami2864:fix/option-map-or-none, r=llogiq
fix suggestion in option_map_or_none

fix: #7960
changelog: change suggestion in the lint rule `option_map_or_none`
2021-11-17 16:01:55 +00:00
..
bind_instead_of_map.rs
bytes_nth.rs
chars_cmp_with_unwrap.rs
chars_cmp.rs
chars_last_cmp_with_unwrap.rs
chars_last_cmp.rs
chars_next_cmp_with_unwrap.rs
chars_next_cmp.rs
clone_on_copy.rs
clone_on_ref_ptr.rs
cloned_instead_of_copied.rs
expect_fun_call.rs
expect_used.rs
extend_with_drain.rs
filetype_is_file.rs
filter_map_identity.rs
filter_map_next.rs
filter_map.rs
filter_next.rs
flat_map_identity.rs
flat_map_option.rs
from_iter_instead_of_collect.rs Improve heuristics for determining whether eager of lazy evaluation is preferred 2021-11-15 20:54:13 -05:00
get_unwrap.rs
implicit_clone.rs
inefficient_to_string.rs
inspect_for_each.rs
into_iter_on_ref.rs
iter_cloned_collect.rs
iter_count.rs
iter_next_slice.rs
iter_nth_zero.rs
iter_nth.rs
iter_skip_next.rs
iterator_step_by_zero.rs
manual_saturating_arithmetic.rs
manual_str_repeat.rs
map_collect_result_unit.rs
map_flatten.rs
map_identity.rs
map_unwrap_or.rs
mod.rs Auto merge of #7896 - surechen:fix_manual_split_once, r=camsteffen 2021-11-17 01:46:58 +00:00
ok_expect.rs
option_as_ref_deref.rs
option_map_or_none.rs check whether stmts is empty or not in block 2021-11-18 00:36:11 +09:00
option_map_unwrap_or.rs
or_fun_call.rs Improve heuristics for determining whether eager of lazy evaluation is preferred 2021-11-15 20:54:13 -05:00
search_is_some.rs
single_char_add_str.rs
single_char_insert_string.rs
single_char_pattern.rs
single_char_push_string.rs
skip_while_next.rs
str_splitn.rs fixes: #7889 2021-11-17 08:38:45 +08:00
string_extend_chars.rs
suspicious_map.rs
suspicious_splitn.rs
uninit_assumed_init.rs
unnecessary_filter_map.rs
unnecessary_fold.rs
unnecessary_lazy_eval.rs Improve heuristics for determining whether eager of lazy evaluation is preferred 2021-11-15 20:54:13 -05:00
unwrap_or_else_default.rs
unwrap_used.rs
useless_asref.rs
utils.rs
wrong_self_convention.rs
zst_offset.rs