about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBurak <unexge@gmail.com>2023-02-18 18:40:33 +0100
committerunexge <unexge@gmail.com>2023-03-08 08:51:26 +0000
commit099d610640a5ab35a25218af6cedfc4ece765aa0 (patch)
treee107ad19dc299427f0df2214afa41e5851810ee7
parent8f3ac65227b4744924fef56d13de991acc04395b (diff)
downloadrust-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.rs6
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)]