about summary refs log tree commit diff
path: root/compiler/rustc_parse
diff options
context:
space:
mode:
authorAndré Vennberg <andre.vennberg@gmail.com>2023-01-14 18:23:40 +0100
committerAndré Vennberg <andre.vennberg@gmail.com>2023-01-14 18:23:40 +0100
commit0e65003c9e0ea97d7fcfbdb01cca181558b5fa15 (patch)
tree262e5df655d9c8cded61fa29244a3d5e936c9651 /compiler/rustc_parse
parentda3623abab0bb548b539a8a61ba5b813f5395db8 (diff)
downloadrust-0e65003c9e0ea97d7fcfbdb01cca181558b5fa15.tar.gz
rust-0e65003c9e0ea97d7fcfbdb01cca181558b5fa15.zip
Fix some missed double spaces.
Diffstat (limited to 'compiler/rustc_parse')
-rw-r--r--compiler/rustc_parse/src/parser/pat.rs2
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 0b057f2f577..e73a17ced7d 100644
--- a/compiler/rustc_parse/src/parser/pat.rs
+++ b/compiler/rustc_parse/src/parser/pat.rs
@@ -469,7 +469,7 @@ impl<'a> Parser<'a> {
     /// Try to recover the more general form `intersect ::= $pat_lhs @ $pat_rhs`.
     ///
     /// Allowed binding patterns generated by `binding ::= ref? mut? $ident @ $pat_rhs`
-    /// should already have been parsed by now  at this point,
+    /// should already have been parsed by now at this point,
     /// if the next token is `@` then we can try to parse the more general form.
     ///
     /// Consult `parse_pat_ident` for the `binding` grammar.