Skip to content

Commit 8687205

Browse files
authored
Typo
1 parent 65a2669 commit 8687205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/crate_in_macro_def.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ declare_clippy_lint! {
1313
/// Checks for use of `crate` as opposed to `$crate` in a macro definition.
1414
///
1515
/// ### Why is this bad?
16-
/// `crate` refers to macro call's crate, whereas `$crate` refers to the macro
16+
/// `crate` refers to the macro call's crate, whereas `$crate` refers to the macro
1717
/// definition's crate. Rarely is the former intended. See:
1818
/// https://doc.rust-lang.org/reference/macros-by-example.html#hygiene
1919
///

0 commit comments

Comments
 (0)