Apply suggestions from code review

Co-authored-by: llogiq <bogusandre@gmail.com>
This commit is contained in:
Burak 2023-02-18 18:40:33 +01:00 committed by unexge
parent 8f3ac65227
commit 099d610640

View File

@ -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)]