Skip to content

Commit 08a955a

Browse files
committed
Adjust description
1 parent 14eac29 commit 08a955a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4066,7 +4066,7 @@ impl<'a> Parser<'a> {
40664066
}).emit();
40674067
}
40684068

4069-
// Parse bounds of a lifetime parameter `BOUND + BOUND + BOUND`, possibly with trailing `+`.
4069+
// Parse bounds of a type parameter `BOUND + BOUND + BOUND`, possibly with trailing `+`.
40704070
// BOUND = TY_BOUND | LT_BOUND
40714071
// LT_BOUND = LIFETIME (e.g. `'a`)
40724072
// TY_BOUND = [?] [for<LT_PARAM_DEFS>] SIMPLE_PATH (e.g. `?for<'a: 'b> m::Trait<'a>`)

0 commit comments

Comments
 (0)