This commit is contained in:
Samuel Moelius 2022-03-24 08:57:08 -04:00 committed by GitHub
parent 65a26692fd
commit 86872059ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ declare_clippy_lint! {
/// Checks for use of `crate` as opposed to `$crate` in a macro definition.
///
/// ### Why is this bad?
/// `crate` refers to macro call's crate, whereas `$crate` refers to the macro
/// `crate` refers to the macro call's crate, whereas `$crate` refers to the macro
/// definition's crate. Rarely is the former intended. See:
/// https://doc.rust-lang.org/reference/macros-by-example.html#hygiene
///