rust-clippy/clippy_lints/src/methods
Marcel Hellwig c080899848 add strip_{prefix,suffix} to PATTERN_METHODS
this will warn, if a single_char_pattern is used in one of the above
methods
2021-05-03 16:18:41 +02:00
..
bind_instead_of_map.rs Fix all occurences of needless_borrow internally 2021-04-06 10:43:47 -04:00
bytes_nth.rs Eat dogfood 2021-03-31 14:06:27 -05:00
chars_cmp.rs Fix all occurences of needless_borrow internally 2021-04-06 10:43:47 -04:00
chars_cmp_with_unwrap.rs extract conditions for from_iter_instead_of_collect into its own module 2021-03-18 00:58:35 +09:00
chars_last_cmp.rs move chars_cmp_with_unwrap, chars_last_cmp and chars_next_cmp_with_unwrap to their own modules 2021-03-18 00:49:48 +09:00
chars_last_cmp_with_unwrap.rs move chars_last_cmp_with_unwrap to its own module 2021-03-18 00:59:45 +09:00
chars_next_cmp.rs move chars_cmp and chars_next_cmp to its own modules 2021-03-18 00:49:03 +09:00
chars_next_cmp_with_unwrap.rs move chars_cmp_with_unwrap, chars_last_cmp and chars_next_cmp_with_unwrap to their own modules 2021-03-18 00:49:48 +09:00
clone_on_copy.rs Improve clone_on_copy 2021-03-29 16:10:37 -04:00
clone_on_ref_ptr.rs extract conditions into modules 2021-03-18 00:51:49 +09:00
cloned_instead_of_copied.rs Refactor MSRV aliases 2021-04-26 16:07:48 -05:00
expect_fun_call.rs Fix all occurences of needless_borrow internally 2021-04-06 10:43:47 -04:00
expect_used.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
filetype_is_file.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
filter_map.rs Fix all occurences of needless_borrow internally 2021-04-06 10:43:47 -04:00
filter_map_identity.rs Remove all usages of match_path, match_qpath and match_path_ast except the author lint. 2021-04-15 19:27:25 -04:00
filter_map_next.rs Refactor MSRV aliases 2021-04-26 16:07:48 -05:00
filter_next.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
flat_map_identity.rs Remove all usages of match_path, match_qpath and match_path_ast except the author lint. 2021-04-15 19:27:25 -04:00
flat_map_option.rs Add flat_map_option lint 2021-04-16 15:23:49 -05:00
from_iter_instead_of_collect.rs Remove all usages of match_path, match_qpath and match_path_ast except the author lint. 2021-04-15 19:27:25 -04:00
get_unwrap.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
implicit_clone.rs Refactor diagnostic item methods 2021-04-13 14:10:40 -05:00
inefficient_to_string.rs extract conditions into modules 2021-03-18 00:51:49 +09:00
inspect_for_each.rs Don't re-export clippy_utils::* 2021-03-17 09:13:52 -05:00
into_iter_on_ref.rs remove the use of paths 2021-03-18 01:06:24 +09:00
iter_cloned_collect.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
iter_count.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
iter_next_slice.rs Fix all occurences of needless_borrow internally 2021-04-06 10:43:47 -04:00
iter_nth.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
iter_nth_zero.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
iter_skip_next.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
iterator_step_by_zero.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
manual_saturating_arithmetic.rs Remove all usages of match_path, match_qpath and match_path_ast except the author lint. 2021-04-15 19:27:25 -04:00
map_collect_result_unit.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
map_flatten.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
map_unwrap_or.rs Refactor MSRV aliases 2021-04-26 16:07:48 -05:00
mod.rs add strip_{prefix,suffix} to PATTERN_METHODS 2021-05-03 16:18:41 +02:00
ok_expect.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
option_as_ref_deref.rs Refactor MSRV aliases 2021-04-26 16:07:48 -05:00
option_map_or_none.rs Introduce is_lang_ctor 2021-04-06 15:05:00 -05:00
option_map_unwrap_or.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
or_fun_call.rs Symbol optimizations 2021-04-06 13:00:36 -05:00
search_is_some.rs Fix all occurences of needless_borrow internally 2021-04-06 10:43:47 -04:00
single_char_add_str.rs extract conditions for from_iter_instead_of_collect into its own module 2021-03-18 00:58:35 +09:00
single_char_insert_string.rs replace crate::methods::utils with super::utils 2021-03-18 01:23:37 +09:00
single_char_pattern.rs replace crate::methods::utils with super::utils 2021-03-18 01:23:37 +09:00
single_char_push_string.rs replace crate::methods::utils with super::utils 2021-03-18 01:23:37 +09:00
skip_while_next.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
string_extend_chars.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
suspicious_map.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
uninit_assumed_init.rs Remove all usages of match_path, match_qpath and match_path_ast except the author lint. 2021-04-15 19:27:25 -04:00
unnecessary_filter_map.rs Remove all usages of match_path, match_qpath and match_path_ast except the author lint. 2021-04-15 19:27:25 -04:00
unnecessary_fold.rs Fix all occurences of needless_borrow internally 2021-04-06 10:43:47 -04:00
unnecessary_lazy_eval.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
unwrap_used.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
useless_asref.rs Destructure args in methods module 2021-03-31 13:25:55 -05:00
utils.rs Fix FN in iter_cloned_collect with a large array 2021-04-26 13:03:51 -07:00
wrong_self_convention.rs Fix FP in wrong_self_convention lint 2021-04-11 13:29:08 +02:00
zst_offset.rs Fix all occurences of needless_borrow internally 2021-04-06 10:43:47 -04:00