diff --git a/src/rust-2021/or-patterns-macro-rules.md b/src/rust-2021/or-patterns-macro-rules.md index 58d6d551..47508dbc 100644 --- a/src/rust-2021/or-patterns-macro-rules.md +++ b/src/rust-2021/or-patterns-macro-rules.md @@ -36,7 +36,7 @@ change how the macro works. ## Migration to Rust 2021 -A lint, `rust_2021_incompatible_or_patterns`, gets triggered whenever there is a use `$:_pat` which +A lint, `rust_2021_incompatible_or_patterns`, gets triggered whenever there is a use `$_:pat` which will change meaning in Rust 2021. You can automatically migrate your code to be Rust 2021 Edition compatible or ensure it is already compatible by