rust/clippy_lints/src/methods
bebecue f86c35c326
Update lint suspicious_to_owned
`matches!(data, String)` will matches any type, replace it with explicit type annotation.
2022-11-05 04:44:02 +08:00
..
bind_instead_of_map.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
bytecount.rs
bytes_count_to_len.rs
bytes_nth.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
case_sensitive_file_extension_comparisons.rs
chars_cmp_with_unwrap.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
chars_cmp.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
chars_last_cmp_with_unwrap.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
chars_last_cmp.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
chars_next_cmp_with_unwrap.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
chars_next_cmp.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
clone_on_copy.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
clone_on_ref_ptr.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
cloned_instead_of_copied.rs
collapsible_str_replace.rs
err_expect.rs
expect_fun_call.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
expect_used.rs [unwrap_used], [expect_used] do not lint in test cfg 2022-10-21 15:27:25 +02:00
extend_with_drain.rs
filetype_is_file.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
filter_map_identity.rs
filter_map_next.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
filter_map.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
filter_next.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
flat_map_identity.rs
flat_map_option.rs
from_iter_instead_of_collect.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
get_first.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
get_last_with_len.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
get_unwrap.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
implicit_clone.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
inefficient_to_string.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
inspect_for_each.rs
into_iter_on_ref.rs Replace manual let else patterns with let else 2022-10-11 00:12:16 +02:00
is_digit_ascii_radix.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
iter_cloned_collect.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
iter_count.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
iter_kv_map.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
iter_next_slice.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
iter_nth_zero.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
iter_nth.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
iter_on_single_or_empty_collections.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
iter_overeager_cloned.rs
iter_skip_next.rs
iter_with_drain.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
iterator_step_by_zero.rs
manual_ok_or.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
manual_saturating_arithmetic.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
manual_str_repeat.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
map_clone.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
map_collect_result_unit.rs
map_err_ignore.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
map_flatten.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
map_identity.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
map_unwrap_or.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
mod.rs Update lint suspicious_to_owned 2022-11-05 04:44:02 +08:00
mut_mutex_lock.rs
needless_option_as_deref.rs
needless_option_take.rs
no_effect_replace.rs
obfuscated_if_else.rs
ok_expect.rs
open_options.rs
option_as_ref_deref.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
option_map_or_none.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
option_map_unwrap_or.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
or_fun_call.rs fix: support map_or for or_fun_call lint 2022-10-23 23:20:20 +09:00
or_then_unwrap.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
path_buf_push_overwrite.rs
range_zip_with_len.rs
repeat_once.rs
search_is_some.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
seek_from_current.rs feat: add new lint seek_from_current 2022-10-25 12:26:06 +09:00
seek_to_start_instead_of_rewind.rs Change lint name to seek_to_start_instead_of_rewind 2022-10-24 16:31:45 +00:00
single_char_add_str.rs
single_char_insert_string.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
single_char_pattern.rs
single_char_push_string.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
skip_while_next.rs
stable_sort_primitive.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
str_splitn.rs Replace manual let else patterns with let else 2022-10-11 00:12:16 +02:00
string_extend_chars.rs fix the string-extend-chars suggestion on slice 2022-10-28 17:35:44 +02:00
suspicious_map.rs Fix adjacent code 2022-10-28 13:18:07 -04:00
suspicious_splitn.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
suspicious_to_owned.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
uninit_assumed_init.rs
unit_hash.rs
unnecessary_filter_map.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
unnecessary_fold.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
unnecessary_iter_cloned.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
unnecessary_join.rs fix turbofish in suggest message 2022-11-03 23:53:29 +09:00
unnecessary_lazy_eval.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
unnecessary_sort_by.rs
unnecessary_to_owned.rs Merge remote-tracking branch 'upstream/master' into rustup 2022-10-20 16:39:27 +02:00
unwrap_or_else_default.rs
unwrap_used.rs [unwrap_used], [expect_used] do not lint in test cfg 2022-10-21 15:27:25 +02:00
useless_asref.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
utils.rs
vec_resize_to_zero.rs
verbose_file_reads.rs
wrong_self_convention.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
zst_offset.rs