File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/librustc_parse/parser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ impl<'a> Parser<'a> {
173173 let args = if self . eat_lt ( ) {
174174 // `<'a, T, A = U>`
175175 let ( args, constraints) =
176- self . parse_generic_args_with_leaning_angle_bracket_recovery ( style, lo) ?;
176+ self . parse_generic_args_with_leading_angle_bracket_recovery ( style, lo) ?;
177177 self . expect_gt ( ) ?;
178178 let span = lo. to ( self . prev_span ) ;
179179 AngleBracketedArgs { args, constraints, span } . into ( )
@@ -212,7 +212,7 @@ impl<'a> Parser<'a> {
212212 /// bar::<<<<T as Foo>::Output>();
213213 /// ^^ help: remove extra angle brackets
214214 /// ```
215- fn parse_generic_args_with_leaning_angle_bracket_recovery (
215+ fn parse_generic_args_with_leading_angle_bracket_recovery (
216216 & mut self ,
217217 style : PathStyle ,
218218 lo : Span ,
You can’t perform that action at this time.
0 commit comments