Skip to content

Commit 33838d5

Browse files
committed
ignore too_many_arguments on check
1 parent c63881a commit 33838d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/methods/option_map_unwrap_or.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ use rustc_span::sym;
2020
use super::MAP_UNWRAP_OR;
2121

2222
/// lint use of `map().unwrap_or()` for `Option`s
23+
#[expect(clippy::too_many_arguments)]
2324
pub(super) fn check<'tcx>(
2425
cx: &LateContext<'tcx>,
2526
expr: &rustc_hir::Expr<'_>,

0 commit comments

Comments
 (0)