From 83d620b8246094ff54c90888f53015b1ef5a2bf8 Mon Sep 17 00:00:00 2001 From: rhysd Date: Sun, 3 Feb 2019 21:28:43 +0900 Subject: [PATCH] run `util/dev update_lints` and `cargo fmt --all` --- README.md | 2 +- clippy_lints/src/dbg_macro.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8519fe55a9f4..d3d82eb0752e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code. -[There are 295 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html) +[There are 296 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html) We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~annoy~~ help you: diff --git a/clippy_lints/src/dbg_macro.rs b/clippy_lints/src/dbg_macro.rs index ae551a0792d7..d75970ce50a2 100644 --- a/clippy_lints/src/dbg_macro.rs +++ b/clippy_lints/src/dbg_macro.rs @@ -1,10 +1,10 @@ -use crate::utils::{span_help_and_lint, span_lint_and_sugg, snippet_opt}; +use crate::utils::{snippet_opt, span_help_and_lint, span_lint_and_sugg}; use rustc::lint::{EarlyContext, EarlyLintPass, LintArray, LintPass}; use rustc::{declare_tool_lint, lint_array}; -use syntax::ast; use rustc_errors::Applicability; -use syntax::tokenstream::TokenStream; +use syntax::ast; use syntax::source_map::Span; +use syntax::tokenstream::TokenStream; /// **What it does:** Checks for usage of dbg!() macro. ///