@@ -1184,7 +1184,7 @@ impl<'a> ExpandIncludeFile<'a> {
11841184 }
11851185}
11861186
1187- impl < ' a > Iterator for ExpandIncludeFile < ' a > {
1187+ impl Iterator for ExpandIncludeFile < ' _ > {
11881188 type Item = OsString ;
11891189
11901190 fn next ( & mut self ) -> Option < OsString > {
@@ -1197,10 +1197,7 @@ impl<'a> Iterator for ExpandIncludeFile<'a> {
11971197 }
11981198
11991199 // Visit the next argument provided by the original command iterator.
1200- let arg = match self . args . pop ( ) {
1201- Some ( arg) => arg,
1202- None => return None ,
1203- } ;
1200+ let arg = self . args . pop ( ) ?;
12041201 let file_arg = match arg. split_prefix ( "@" ) {
12051202 Some ( file_arg) => file_arg,
12061203 None => return Some ( arg) ,
@@ -1290,7 +1287,7 @@ where
12901287 }
12911288}
12921289
1293- impl < ' a > SplitMsvcResponseFileArgs < ' a > {
1290+ impl SplitMsvcResponseFileArgs < ' _ > {
12941291 /// Appends backslashes to `target` by decrementing `count`.
12951292 /// If `step` is >1, then `count` is decremented by `step`, resulting in 1 backslash appended for every `step`.
12961293 fn append_backslashes_to ( target : & mut String , count : & mut usize , step : usize ) {
@@ -1301,7 +1298,7 @@ impl<'a> SplitMsvcResponseFileArgs<'a> {
13011298 }
13021299}
13031300
1304- impl < ' a > Iterator for SplitMsvcResponseFileArgs < ' a > {
1301+ impl Iterator for SplitMsvcResponseFileArgs < ' _ > {
13051302 type Item = String ;
13061303
13071304 fn next ( & mut self ) -> Option < String > {
0 commit comments