diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-09-02 22:35:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-02 22:35:21 +0200 |
| commit | 1d9eb9df7fd7caeb4e9fe6915e2a30162ebb5bc1 (patch) | |
| tree | 90e1f4e93a1bfaa8ba76d76db91a0f90fc0b2169 /compiler/rustc_parse/src/parser | |
| parent | cfb12716e903df2e55ed20e1b82baae84fb866d1 (diff) | |
| parent | 00de006f22f2304bddabb2d00a13af242ea21c17 (diff) | |
| download | rust-1d9eb9df7fd7caeb4e9fe6915e2a30162ebb5bc1.tar.gz rust-1d9eb9df7fd7caeb4e9fe6915e2a30162ebb5bc1.zip | |
Rollup merge of #129877 - Sajjon:sajjon_fix_typos_batch_2, r=fee1-dead
chore: Fix typos in 'compiler' (batch 2) Batch 2/3: Fixes typos in `compiler` (See [issue](https://github.com/rust-lang/rust/issues/129874) tracking all PRs with typos fixes)
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()) { |
