about summary refs log tree commit diff
diff options
context:
space:
mode:
authordarklyspaced <srohanjd@gmail.com>2023-06-26 14:47:05 +0800
committerdarklyspaced <srohanjd@gmail.com>2023-06-27 11:29:02 +0800
commitca00b138b21d87cff24d085dd9d9dce2bf26b530 (patch)
tree3ee60272d9a18132ee7cfb265e41f5d3544143f8
parentc378bf9ddf10e191fce5753a02a09bb0ab8961fb (diff)
downloadrust-ca00b138b21d87cff24d085dd9d9dce2bf26b530.tar.gz
rust-ca00b138b21d87cff24d085dd9d9dce2bf26b530.zip
ignore too_many_arguments on `check`
-rw-r--r--clippy_lints/src/methods/option_map_unwrap_or.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/methods/option_map_unwrap_or.rs b/clippy_lints/src/methods/option_map_unwrap_or.rs
index 4387090fe23..e836a1395a2 100644
--- a/clippy_lints/src/methods/option_map_unwrap_or.rs
+++ b/clippy_lints/src/methods/option_map_unwrap_or.rs
@@ -20,6 +20,7 @@ use rustc_span::sym;
 use super::MAP_UNWRAP_OR;
 
 /// lint use of `map().unwrap_or()` for `Option`s
+#[expect(clippy::too_many_arguments)]
 pub(super) fn check<'tcx>(
     cx: &LateContext<'tcx>,
     expr: &rustc_hir::Expr<'_>,