diff options
| author | Alexander Cyon <alex.cyon@gmail.com> | 2024-09-02 07:50:22 +0200 |
|---|---|---|
| committer | Alexander Cyon <alex.cyon@gmail.com> | 2024-09-02 07:50:22 +0200 |
| commit | 00de006f22f2304bddabb2d00a13af242ea21c17 (patch) | |
| tree | 3541122ca018d452badc01254881422d4948270c /compiler/rustc_parse/src/parser | |
| parent | 78d5c04d9c64a57134e6bd39090847351379e6ae (diff) | |
| download | rust-00de006f22f2304bddabb2d00a13af242ea21c17.tar.gz rust-00de006f22f2304bddabb2d00a13af242ea21c17.zip | |
chore: Fix typos in 'compiler' (batch 2)
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/pat.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/pat.rs b/compiler/rustc_parse/src/parser/pat.rs index 8233f9a7943..f87b5649654 100644 --- a/compiler/rustc_parse/src/parser/pat.rs +++ b/compiler/rustc_parse/src/parser/pat.rs @@ -402,7 +402,7 @@ impl<'a> Parser<'a> { let non_assoc_span = expr.span; // Parse an associative expression such as `+ expr`, `% expr`, ... - // Assignements, ranges and `|` are disabled by [`Restrictions::IS_PAT`]. + // Assignments, ranges and `|` are disabled by [`Restrictions::IS_PAT`]. if let Ok((expr, _)) = snapshot.parse_expr_assoc_rest_with(0, false, expr).map_err(|err| err.cancel()) { |
