Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
harupy committed Oct 28, 2023
1 parent 3af27dd commit 799d011
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ impl Violation for UselessComparison {
#[derive_message_formats]
fn message(&self) -> String {
format!(
"Pointless comparison. This comparison does nothing. Did you mean to assign a value? \
Either prepend `assert` or remove it."
"Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert`."
)
}
}
Expand Down

0 comments on commit 799d011

Please sign in to comment.