From abc221e7f66b495d2ea86ccdb200ee9f29cecaab Mon Sep 17 00:00:00 2001 From: Samuel Moelius <35515885+smoelius@users.noreply.github.com> Date: Wed, 30 Mar 2022 12:40:25 -0400 Subject: [PATCH] Update clippy_lints/src/crate_in_macro_def.rs Co-authored-by: llogiq --- clippy_lints/src/crate_in_macro_def.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/crate_in_macro_def.rs b/clippy_lints/src/crate_in_macro_def.rs index 844887dcbe5..ef2f3df105a 100644 --- a/clippy_lints/src/crate_in_macro_def.rs +++ b/clippy_lints/src/crate_in_macro_def.rs @@ -63,7 +63,7 @@ impl EarlyLintPass for CrateInMacroDef { CRATE_IN_MACRO_DEF, span, "`crate` references the macro call's crate", - "if reference to the macro definition's crate is intended, use", + "to reference the macro definition's crate, use", String::from("$crate"), Applicability::MachineApplicable, );