about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-05-18 00:34:55 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-06-23 01:29:29 +0200
commit3b7f0cb7e0b5df49c3254471da59a71c2eba934e (patch)
tree493410cf2af9814bac1827a6c3a799511fd8c323 /src/libsyntax/parse
parent8b72e4c8151c176e8f2ec58f95e16c256d2c059b (diff)
downloadrust-3b7f0cb7e0b5df49c3254471da59a71c2eba934e.tar.gz
rust-3b7f0cb7e0b5df49c3254471da59a71c2eba934e.zip
let_chains: Fix outdated doc-comment re. 'parse_if_expr'.
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 8cf05059e8a..56b363439d1 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -3154,7 +3154,7 @@ impl<'a> Parser<'a> {
         }
     }
 
-    /// Parses an `if` or `if let` expression (`if` token already eaten).
+    /// Parses an `if` expression (`if` token already eaten).
     fn parse_if_expr(&mut self, attrs: ThinVec<Attribute>) -> PResult<'a, P<Expr>> {
         let lo = self.prev_span;
         let cond = self.parse_expr_res(Restrictions::NO_STRUCT_LITERAL, None)?;