File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ use rustc_span::sym;
10
10
11
11
declare_clippy_lint ! {
12
12
/// ### What it does
13
- /// Checks assertions that doesn't have a custom panic message.
13
+ /// Checks assertions without a custom panic message.
14
14
///
15
15
/// ### 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.
17
17
///
18
18
/// ### Example
19
19
/// ```rust
@@ -30,7 +30,7 @@ declare_clippy_lint! {
30
30
#[ clippy:: version = "1.69.0" ]
31
31
pub MISSING_ASSERT_MESSAGE ,
32
32
pedantic,
33
- "checks assertions that doesn't have a custom panic message"
33
+ "checks assertions without a custom panic message"
34
34
}
35
35
36
36
#[ derive( Default , Clone , Debug ) ]
You can’t perform that action at this time.
0 commit comments