Skip to content

Commit 505280b

Browse files
committed
Run cargo dev fmt
1 parent 33a3d85 commit 505280b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

clippy_lints/src/bytecount.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use crate::utils::{
33
span_lint_and_sugg, walk_ptrs_ty,
44
};
55
use if_chain::if_chain;
6-
use rustc_ast::ast::{UintTy};
6+
use rustc_ast::ast::UintTy;
77
use rustc_errors::Applicability;
88
use rustc_hir::{BinOpKind, BorrowKind, Expr, ExprKind, UnOp};
99
use rustc_lint::{LateContext, LateLintPass};

clippy_lints/src/map_clone.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ use rustc_lint::{LateContext, LateLintPass};
99
use rustc_middle::mir::Mutability;
1010
use rustc_middle::ty;
1111
use rustc_session::{declare_lint_pass, declare_tool_lint};
12-
use rustc_span::Span;
1312
use rustc_span::symbol::Ident;
13+
use rustc_span::Span;
1414

1515
declare_clippy_lint! {
1616
/// **What it does:** Checks for usage of `iterator.map(|x| x.clone())` and suggests

clippy_lints/src/utils/usage.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ impl<'tcx> Delegate<'tcx> for MutVarsDelegate {
7777
}
7878

7979
pub struct UsedVisitor {
80-
pub var: Symbol, // var to look for
81-
pub used: bool, // has the var been used otherwise?
80+
pub var: Symbol, // var to look for
81+
pub used: bool, // has the var been used otherwise?
8282
}
8383

8484
impl<'tcx> Visitor<'tcx> for UsedVisitor {

0 commit comments

Comments
 (0)