bool-comparison: make lint adhere to lint message convention

This commit is contained in:
Matthias Krüger 2020-07-23 15:14:12 +02:00
parent e57aafe33f
commit 0876f17d77
2 changed files with 5 additions and 5 deletions

View file

@ -243,7 +243,7 @@ fn check_comparison<'a, 'tcx>(
cx,
BOOL_COMPARISON,
e.span,
"This comparison might be written more concisely",
"this comparison might be written more concisely",
"try simplifying it as shown",
format!(
"{} != {}",