about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authoralexey zabelin <zabelin.alex@gmail.com>2017-04-12 20:46:44 -0400
committeralexey zabelin <zabelin.alex@gmail.com>2017-04-12 20:46:44 -0400
commita50737051abdc943f96c6e89a732fd00e58248e8 (patch)
tree04d692b23d1db256ce6036f1108f905db02dd797 /src/libsyntax/parse
parent910c4816fdee01a1299d11a5e85ebb4aceee6d1a (diff)
downloadrust-a50737051abdc943f96c6e89a732fd00e58248e8.tar.gz
rust-a50737051abdc943f96c6e89a732fd00e58248e8.zip
Fix old docs
 #41158
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 3b928ea93c7..5cacb0da9e5 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -4066,7 +4066,7 @@ impl<'a> Parser<'a> {
         }).emit();
     }
 
-    // Parse bounds of a type parameter `BOUND + BOUND + BOUND` without trailing `+`.
+    // Parse bounds of a type parameter `BOUND + BOUND + BOUND`.
     // BOUND = TY_BOUND | LT_BOUND
     // LT_BOUND = LIFETIME (e.g. `'a`)
     // TY_BOUND = [?] [for<LT_PARAM_DEFS>] SIMPLE_PATH (e.g. `?for<'a: 'b> m::Trait<'a>`)
@@ -4107,7 +4107,7 @@ impl<'a> Parser<'a> {
         self.parse_ty_param_bounds_common(true)
     }
 
-    // Parse bounds of a type parameter `BOUND + BOUND + BOUND` without trailing `+`.
+    // Parse bounds of a type parameter `BOUND + BOUND + BOUND`.
     // BOUND = LT_BOUND (e.g. `'a`)
     fn parse_lt_param_bounds(&mut self) -> Vec<Lifetime> {
         let mut lifetimes = Vec::new();