diff options
| author | Samuel Moelius <35515885+smoelius@users.noreply.github.com> | 2022-03-24 08:57:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-24 08:57:08 -0400 |
| commit | 86872059ed143e93f04130578d8b2d1561d5f3a7 (patch) | |
| tree | 47fa9c2b1954eeccefc82117b1fe30ec4b10fc72 | |
| parent | 65a26692fd361b794f528ead645d880527ce3de0 (diff) | |
| download | rust-86872059ed143e93f04130578d8b2d1561d5f3a7.tar.gz rust-86872059ed143e93f04130578d8b2d1561d5f3a7.zip | |
Typo
| -rw-r--r-- | clippy_lints/src/crate_in_macro_def.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/crate_in_macro_def.rs b/clippy_lints/src/crate_in_macro_def.rs index 9ac6d6d520c..de9c7ee5f20 100644 --- a/clippy_lints/src/crate_in_macro_def.rs +++ b/clippy_lints/src/crate_in_macro_def.rs @@ -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 /// |
