bool-comparison: make lint adhere to lint message convention
This commit is contained in:
parent
e57aafe33f
commit
0876f17d77
2 changed files with 5 additions and 5 deletions
|
|
@ -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!(
|
||||
"{} != {}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue