]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/question_mark.rs
Run rustfmt
[rust.git] / clippy_lints / src / question_mark.rs
index de11e3ff45b5451b1b82426c7bbeefc3106ff878..7821ad56ccc8e8f75f6d836da17b1560a0e79861 100644 (file)
@@ -1,14 +1,14 @@
 use if_chain::if_chain;
-use rustc::{declare_tool_lint, lint_array};
 use rustc::hir::def::Def;
 use rustc::hir::*;
 use rustc::lint::{LateContext, LateLintPass, LintArray, LintPass};
+use rustc::{declare_tool_lint, lint_array};
 use rustc_errors::Applicability;
 use syntax::ptr::P;
 
-use crate::utils::{match_def_path, match_type, span_lint_and_then, SpanlessEq};
 use crate::utils::paths::*;
 use crate::utils::sugg::Sugg;
+use crate::utils::{match_def_path, match_type, span_lint_and_then, SpanlessEq};
 
 declare_clippy_lint! {
     /// **What it does:** Checks for expressions that could be replaced by the question mark operator.