File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ impl<'a> Context<'a> {
282282 }
283283}
284284
285- impl < ' a > Iterator for Context < ' a > {
285+ impl Iterator for Context < ' _ > {
286286 type Item = String ;
287287
288288 #[ inline]
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ impl<'a> Urls<'a> {
1111 }
1212}
1313
14- impl < ' a > Iterator for Urls < ' a > {
14+ impl Iterator for Urls < ' _ > {
1515 type Item = url:: Url ;
1616
1717 fn next ( & mut self ) -> Option < Self :: Item > {
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ pub struct Trimmed<'a> {
169169 string : & ' a str ,
170170}
171171
172- impl < ' a > Trimmed < ' a > {
172+ impl Trimmed < ' _ > {
173173 /// Split the commandline.
174174 fn new ( string : & str ) -> Trimmed < ' _ > {
175175 Trimmed {
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ pub enum Captures<'a> {
264264 Regex { captures : regex:: Captures < ' a > } ,
265265}
266266
267- impl < ' a > Captures < ' a > {
267+ impl Captures < ' _ > {
268268 /// Get the number of captures.
269269 fn len ( & self ) -> usize {
270270 match self {
Original file line number Diff line number Diff line change @@ -822,7 +822,7 @@ pub(crate) struct Words<'a> {
822822 n : usize ,
823823}
824824
825- impl < ' a > Words < ' a > {
825+ impl Words < ' _ > {
826826 /// Split a string into words.
827827 pub ( crate ) fn new ( string : & str ) -> Words < ' _ > {
828828 Words { string, n : 0 }
You can’t perform that action at this time.
0 commit comments