@@ -967,7 +967,7 @@ pub struct ParseStructOptions<'a> {
967967 pub help_triggers : & ' a [ & ' a str ] ,
968968}
969969
970- impl < ' a > ParseStructOptions < ' a > {
970+ impl ParseStructOptions < ' _ > {
971971 /// Parse a commandline option.
972972 ///
973973 /// `arg`: the current option argument being parsed (e.g. `--foo`).
@@ -1035,7 +1035,7 @@ pub struct ParseStructPositionals<'a> {
10351035 pub last_is_greedy : bool ,
10361036}
10371037
1038- impl < ' a > ParseStructPositionals < ' a > {
1038+ impl ParseStructPositionals < ' _ > {
10391039 /// Parse the next positional argument.
10401040 ///
10411041 /// `arg`: the argument supplied by the user.
@@ -1072,7 +1072,7 @@ pub struct ParseStructPositional<'a> {
10721072 pub slot : & ' a mut dyn ParseValueSlot ,
10731073}
10741074
1075- impl < ' a > ParseStructPositional < ' a > {
1075+ impl ParseStructPositional < ' _ > {
10761076 /// Parse a positional argument.
10771077 ///
10781078 /// `arg`: the argument supplied by the user.
@@ -1109,7 +1109,7 @@ pub struct ParseStructSubCommand<'a> {
11091109 pub parse_func : & ' a mut dyn FnMut ( & [ & str ] , & [ & str ] ) -> Result < ( ) , EarlyExit > ,
11101110}
11111111
1112- impl < ' a > ParseStructSubCommand < ' a > {
1112+ impl ParseStructSubCommand < ' _ > {
11131113 fn parse (
11141114 & mut self ,
11151115 help : bool ,
0 commit comments