We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14eac29 commit 08a955aCopy full SHA for 08a955a
src/libsyntax/parse/parser.rs
@@ -4066,7 +4066,7 @@ impl<'a> Parser<'a> {
4066
}).emit();
4067
}
4068
4069
- // Parse bounds of a lifetime parameter `BOUND + BOUND + BOUND`, possibly with trailing `+`.
+ // Parse bounds of a type parameter `BOUND + BOUND + BOUND`, possibly with trailing `+`.
4070
// BOUND = TY_BOUND | LT_BOUND
4071
// LT_BOUND = LIFETIME (e.g. `'a`)
4072
// TY_BOUND = [?] [for<LT_PARAM_DEFS>] SIMPLE_PATH (e.g. `?for<'a: 'b> m::Trait<'a>`)
0 commit comments