summaryrefslogtreecommitdiffstats
path: root/.cargo
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 05:07:34 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-20 05:07:34 +0200
commit1e4bade53aaaeb17542d0372ac827bcb7daf037c (patch)
treea45ed5cd10a7b67f2a93791e6358fed54c086cea /.cargo
parentcaed50b277495e4375975f3f4e271b8fcbc0c33f (diff)
downloadiced-1e4bade53aaaeb17542d0372ac827bcb7daf037c.tar.gz
iced-1e4bade53aaaeb17542d0372ac827bcb7daf037c.tar.bz2
iced-1e4bade53aaaeb17542d0372ac827bcb7daf037c.zip
Fix `clippy::redundant-closure-for-method-calls`
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 83564651..61bfbf17 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -5,7 +5,8 @@ clippy --workspace --no-deps -- \
-D clippy::semicolon_if_nothing_returned \
-D clippy::trivially-copy-pass-by-ref \
-D clippy::default_trait_access \
- -D clippy::match-wildcard-for-single-variants
+ -D clippy::match-wildcard-for-single-variants \
+ -D clippy::redundant-closure-for-method-calls
"""
nitpick = """
@@ -28,5 +29,6 @@ clippy --workspace --no-deps -- \
-A clippy::module_name_repetitions \
-A clippy::if_not_else \
-A clippy::redundant_else \
- -A clippy::used_underscore_binding
+ -A clippy::used_underscore_binding \
+ -A clippy::cast_possible_wrap
"""