Skip to content

Commit

Permalink
ignore too_many_arguments on check
Browse files Browse the repository at this point in the history
  • Loading branch information
darklyspaced committed Jun 26, 2023
1 parent c63881a commit 33838d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_lints/src/methods/option_map_unwrap_or.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<'_>,
Expand Down

0 comments on commit 33838d5

Please sign in to comment.