about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Torres <nickrtorres@icloud.com>2020-04-04 14:33:43 -0700
committerNick Torres <nickrtorres@icloud.com>2020-04-04 14:33:43 -0700
commit2533f56a0eaa4ebbeb607b6596d12e303f97e008 (patch)
treeaf2690d9d49a592b733464d6c9dfcd303fda6db0
parentacc3bc1ba27129f6fc5bda6d943046e9e2ad2d45 (diff)
downloadrust-2533f56a0eaa4ebbeb607b6596d12e303f97e008.tar.gz
rust-2533f56a0eaa4ebbeb607b6596d12e303f97e008.zip
result_map_or_into_option: fix `cargo dev fmt --check` errors
-rw-r--r--clippy_lints/src/methods/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index d57cce47ff9..9ff669515cf 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -2559,10 +2559,7 @@ fn lint_map_or_none<'a, 'tcx>(
         return;
     }
 
-
-
     let (lint, msg, instead, hint) = {
-
         let default_arg_is_none = if let hir::ExprKind::Path(ref qpath) = map_or_args[1].kind {
             match_qpath(qpath, &paths::OPTION_NONE)
         } else {