Skip to content

Commit 9fcec02

Browse files
committed
unused_macro_rules switched used and unused comments
1 parent a63150b commit 9fcec02

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

compiler/rustc_lint_defs/src/builtin.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,8 +1032,8 @@ declare_lint! {
10321032
/// ```rust
10331033
/// #[warn(unused_macro_rules)]
10341034
/// macro_rules! unused_empty {
1035-
/// (hello) => { println!("Hello, world!") }; // This rule is unused
1036-
/// () => { println!("empty") }; // This rule is used
1035+
/// (hello) => { println!("Hello, world!") }; // This rule is used
1036+
/// () => { println!("empty") }; // This rule is unused
10371037
/// }
10381038
///
10391039
/// fn main() {

0 commit comments

Comments
 (0)