diff options
| author | Burak <unexge@gmail.com> | 2023-02-18 18:40:33 +0100 |
|---|---|---|
| committer | unexge <unexge@gmail.com> | 2023-03-08 08:51:26 +0000 |
| commit | 099d610640a5ab35a25218af6cedfc4ece765aa0 (patch) | |
| tree | e107ad19dc299427f0df2214afa41e5851810ee7 | |
| parent | 8f3ac65227b4744924fef56d13de991acc04395b (diff) | |
| download | rust-099d610640a5ab35a25218af6cedfc4ece765aa0.tar.gz rust-099d610640a5ab35a25218af6cedfc4ece765aa0.zip | |
Apply suggestions from code review
Co-authored-by: llogiq <bogusandre@gmail.com>
| -rw-r--r-- | clippy_lints/src/missing_assert_message.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clippy_lints/src/missing_assert_message.rs b/clippy_lints/src/missing_assert_message.rs index a884b22370d..07424eb46a4 100644 --- a/clippy_lints/src/missing_assert_message.rs +++ b/clippy_lints/src/missing_assert_message.rs @@ -10,10 +10,10 @@ use rustc_span::sym; declare_clippy_lint! { /// ### What it does - /// Checks assertions that doesn't have a custom panic message. + /// Checks assertions without a custom panic message. /// /// ### Why is this bad? - /// If the assertion fails, a custom message may make it easier to debug what went wrong. + /// If the assertion fails, the custom message may make it easier to understand what went wrong. /// /// ### Example /// ```rust @@ -30,7 +30,7 @@ declare_clippy_lint! { #[clippy::version = "1.69.0"] pub MISSING_ASSERT_MESSAGE, pedantic, - "checks assertions that doesn't have a custom panic message" + "checks assertions without a custom panic message" } #[derive(Default, Clone, Debug)] |
