@@ -44,6 +44,7 @@ exclude = ["fuzz", "bitcoind-tests"]
4444large_enum_variant = " allow" # docs say "measure before paying attention to this"; why is it on by default??
4545similar_names = " allow" # Too many (subjectively) false positives.
4646uninlined_format_args = " allow" # This is a subjective style choice.
47+ indexing_slicing = " allow" # Too many false positives ... would be cool though
4748match_bool = " allow" # Adds extra indentation and LOC.
4849match_same_arms = " allow" # Collapses things that are conceptually unrelated to each other.
4950must_use_candidate = " allow" # Useful for audit but many false positives.
@@ -65,7 +66,7 @@ cloned_instead_of_copied = "warn"
6566copy_iterator = " warn"
6667default_trait_access = " warn"
6768doc_link_with_quotes = " warn"
68- doc_markdown = " allow "
69+ doc_markdown = " warn "
6970empty_enum = " warn"
7071enum_glob_use = " allow"
7172expl_impl_clone_on_copy = " warn"
@@ -78,7 +79,7 @@ float_cmp = "warn"
7879fn_params_excessive_bools = " warn"
7980from_iter_instead_of_collect = " warn"
8081if_not_else = " warn"
81- ignored_unit_patterns = " allow "
82+ ignored_unit_patterns = " warn "
8283implicit_clone = " warn"
8384implicit_hasher = " warn"
8485inconsistent_struct_constructor = " warn"
@@ -87,7 +88,7 @@ inefficient_to_string = "allow"
8788inline_always = " warn"
8889into_iter_without_iter = " warn"
8990invalid_upcast_comparisons = " warn"
90- items_after_statements = " allow "
91+ items_after_statements = " warn "
9192iter_filter_is_ok = " warn"
9293iter_filter_is_some = " warn"
9394iter_not_returning_iterator = " warn"
@@ -98,16 +99,15 @@ large_stack_arrays = "warn"
9899large_types_passed_by_value = " warn"
99100linkedlist = " warn"
100101macro_use_imports = " warn"
101- manual_assert = " allow "
102+ manual_assert = " warn "
102103manual_instant_elapsed = " warn"
103104manual_is_power_of_two = " warn"
104105manual_is_variant_and = " warn"
105- manual_let_else = " allow "
106+ manual_let_else = " warn "
106107manual_ok_or = " warn"
107108manual_string_new = " warn"
108109many_single_char_names = " warn"
109- map_unwrap_or = " allow"
110- match_on_vec_items = " warn"
110+ map_unwrap_or = " warn"
111111match_wild_err_arm = " warn"
112112match_wildcard_for_single_variants = " allow"
113113maybe_infinite_iter = " warn"
0 commit comments