Skip to content

Commit aadf64b

Browse files
authored
Merge pull request #20 from jwodder/lints-87
Retemplate lints configuration
2 parents 2fbdf93 + d046869 commit aadf64b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ checked_conversions = "deny"
137137
clear_with_drain = "deny"
138138
cloned_instead_of_copied = "deny"
139139
collection_is_never_read = "deny"
140+
comparison_chain = "deny"
140141
copy_iterator = "deny"
141142
debug_assert_with_mut_call = "deny"
142143
default_trait_access = "deny"
@@ -154,6 +155,7 @@ flat_map_option = "deny"
154155
float_cmp = "deny"
155156
float_cmp_const = "deny"
156157
fn_to_numeric_cast_any = "deny"
158+
format_collect = "deny"
157159
format_push_string = "deny"
158160
future_not_send = "deny"
159161
get_unwrap = "deny"
@@ -180,7 +182,7 @@ manual_instant_elapsed = "deny"
180182
manual_is_power_of_two = "deny"
181183
manual_is_variant_and = "deny"
182184
manual_let_else = "deny"
183-
manual_ok_or = "deny"
185+
manual_midpoint = "deny"
184186
manual_string_new = "deny"
185187
map_unwrap_or = "deny"
186188
map_with_unused_argument_over_ranges = "deny"
@@ -206,6 +208,7 @@ option_as_ref_cloned = "deny"
206208
or_fun_call = "deny"
207209
path_buf_push_overwrite = "deny"
208210
pathbuf_init_then_push = "deny"
211+
precedence_bits = "deny"
209212
pub_underscore_fields = "deny"
210213
pub_without_shorthand = "deny"
211214
range_minus_one = "deny"
@@ -218,6 +221,7 @@ redundant_closure_for_method_calls = "deny"
218221
redundant_feature_names = "deny"
219222
ref_binding_to_reference = "deny"
220223
rest_pat_in_fully_bound_structs = "deny"
224+
return_and_then = "deny"
221225
same_functions_in_if_condition = "deny"
222226
semicolon_if_nothing_returned = "deny"
223227
set_contains_or_insert = "deny"

clippy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
allow-unwrap-in-tests = true
2+
check-incompatible-msrv-in-tests = true

0 commit comments

Comments
 (0)