From 3c862e928766c8052e73ee45d9c32aa2b8094b23 Mon Sep 17 00:00:00 2001 From: Ryan Levick Date: Thu, 22 Jul 2021 10:05:43 +0200 Subject: [PATCH] Fix typo in or-patterns section --- src/rust-2021/or-patterns-macro-rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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