Apply subset of "cargo fmt".

This commit is contained in:
Vitaly _Vi Shukela 2018-09-16 22:01:26 +03:00 committed by flip1995
parent 3e853a632e
commit 2781cac839
No known key found for this signature in database
GPG key ID: 9F184E1164831181
2 changed files with 4 additions and 4 deletions

View file

@ -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,
);
);
}
},
);

View file

@ -209,7 +209,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AttrPass {
"if you just forgot a `!`, use",
sugg,
Applicability::Unspecified,
);
);
},
);
}