Skip to content

Commit 3c862e9

Browse files
committed
Fix typo in or-patterns section
1 parent f87241b commit 3c862e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust-2021/or-patterns-macro-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ change how the macro works.
3636

3737
## Migration to Rust 2021
3838

39-
A lint, `rust_2021_incompatible_or_patterns`, gets triggered whenever there is a use `$:_pat` which
39+
A lint, `rust_2021_incompatible_or_patterns`, gets triggered whenever there is a use `$_:pat` which
4040
will change meaning in Rust 2021.
4141

4242
You can automatically migrate your code to be Rust 2021 Edition compatible or ensure it is already compatible by

0 commit comments

Comments
 (0)