Skip to content

Commit 099d610

Browse files
unexgellogiq
andcommitted
Apply suggestions from code review
Co-authored-by: llogiq <bogusandre@gmail.com>
1 parent 8f3ac65 commit 099d610

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/missing_assert_message.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ use rustc_span::sym;
1010

1111
declare_clippy_lint! {
1212
/// ### What it does
13-
/// Checks assertions that doesn't have a custom panic message.
13+
/// Checks assertions without a custom panic message.
1414
///
1515
/// ### Why is this bad?
16-
/// If the assertion fails, a custom message may make it easier to debug what went wrong.
16+
/// If the assertion fails, the custom message may make it easier to understand what went wrong.
1717
///
1818
/// ### Example
1919
/// ```rust
@@ -30,7 +30,7 @@ declare_clippy_lint! {
3030
#[clippy::version = "1.69.0"]
3131
pub MISSING_ASSERT_MESSAGE,
3232
pedantic,
33-
"checks assertions that doesn't have a custom panic message"
33+
"checks assertions without a custom panic message"
3434
}
3535

3636
#[derive(Default, Clone, Debug)]

0 commit comments

Comments
 (0)