mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
Apply subset of "cargo fmt".
This commit is contained in:
parent
3e853a632e
commit
2781cac839
2 changed files with 4 additions and 4 deletions
|
@ -93,11 +93,11 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AssignOps {
|
|||
Applicability::Unspecified,
|
||||
);
|
||||
db.span_suggestion_with_applicability(
|
||||
expr.span,
|
||||
"or",
|
||||
expr.span,
|
||||
"or",
|
||||
long,
|
||||
Applicability::Unspecified,
|
||||
);
|
||||
);
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
|
@ -209,7 +209,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AttrPass {
|
|||
"if you just forgot a `!`, use",
|
||||
sugg,
|
||||
Applicability::Unspecified,
|
||||
);
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue