diff options
| author | bors <bors@rust-lang.org> | 2024-09-06 06:42:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-06 06:42:23 +0000 |
| commit | 0903724a9b839bb642ce537ababe6625e8887c4f (patch) | |
| tree | a327c16521758286ea353293be72e4104cba2442 /compiler/rustc_parse/src/parser | |
| parent | 18d358c63c7ae8ff9d921f3464707bedb23254d2 (diff) | |
| parent | 2fccb4b358e06c9c33d1ed18b280aa1a776c2f36 (diff) | |
| download | rust-0903724a9b839bb642ce537ababe6625e8887c4f.tar.gz rust-0903724a9b839bb642ce537ababe6625e8887c4f.zip | |
Auto merge of #3862 - rust-lang:rustup-2024-09-06, r=RalfJung
Automatic Rustup
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()) { |
