Skip to content

Commit 2533f56

Browse files
committed
result_map_or_into_option: fix cargo dev fmt --check errors
1 parent acc3bc1 commit 2533f56

File tree

1 file changed

+0
-3
lines changed
  • clippy_lints/src/methods

1 file changed

+0
-3
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2559,10 +2559,7 @@ fn lint_map_or_none<'a, 'tcx>(
25592559
return;
25602560
}
25612561

2562-
2563-
25642562
let (lint, msg, instead, hint) = {
2565-
25662563
let default_arg_is_none = if let hir::ExprKind::Path(ref qpath) = map_or_args[1].kind {
25672564
match_qpath(qpath, &paths::OPTION_NONE)
25682565
} else {

0 commit comments

Comments
 (0)