@@ -341,25 +341,25 @@ pub struct ByteIter<'b> {
341341 iter : slice:: Iter < ' b , u8 > ,
342342}
343343
344- impl < ' b > Iterator for ByteIter < ' b > {
344+ impl Iterator for ByteIter < ' _ > {
345345 type Item = u8 ;
346346 #[ inline]
347347 fn next ( & mut self ) -> Option < u8 > { self . iter . next ( ) . copied ( ) }
348348 #[ inline]
349349 fn size_hint ( & self ) -> ( usize , Option < usize > ) { self . iter . size_hint ( ) }
350350}
351351
352- impl < ' b > ExactSizeIterator for ByteIter < ' b > {
352+ impl ExactSizeIterator for ByteIter < ' _ > {
353353 #[ inline]
354354 fn len ( & self ) -> usize { self . iter . len ( ) }
355355}
356356
357- impl < ' b > DoubleEndedIterator for ByteIter < ' b > {
357+ impl DoubleEndedIterator for ByteIter < ' _ > {
358358 #[ inline]
359359 fn next_back ( & mut self ) -> Option < Self :: Item > { self . iter . next_back ( ) . copied ( ) }
360360}
361361
362- impl < ' b > FusedIterator for ByteIter < ' b > { }
362+ impl FusedIterator for ByteIter < ' _ > { }
363363
364364/// Iterator over ASCII characters of the human-readable part.
365365///
@@ -368,32 +368,32 @@ pub struct CharIter<'b> {
368368 iter : ByteIter < ' b > ,
369369}
370370
371- impl < ' b > Iterator for CharIter < ' b > {
371+ impl Iterator for CharIter < ' _ > {
372372 type Item = char ;
373373 #[ inline]
374374 fn next ( & mut self ) -> Option < char > { self . iter . next ( ) . map ( Into :: into) }
375375 #[ inline]
376376 fn size_hint ( & self ) -> ( usize , Option < usize > ) { self . iter . size_hint ( ) }
377377}
378378
379- impl < ' b > ExactSizeIterator for CharIter < ' b > {
379+ impl ExactSizeIterator for CharIter < ' _ > {
380380 #[ inline]
381381 fn len ( & self ) -> usize { self . iter . len ( ) }
382382}
383383
384- impl < ' b > DoubleEndedIterator for CharIter < ' b > {
384+ impl DoubleEndedIterator for CharIter < ' _ > {
385385 #[ inline]
386386 fn next_back ( & mut self ) -> Option < Self :: Item > { self . iter . next_back ( ) . map ( Into :: into) }
387387}
388388
389- impl < ' b > FusedIterator for CharIter < ' b > { }
389+ impl FusedIterator for CharIter < ' _ > { }
390390
391391/// Iterator over lowercase bytes (ASCII characters) of the human-readable part.
392392pub struct LowercaseByteIter < ' b > {
393393 iter : ByteIter < ' b > ,
394394}
395395
396- impl < ' b > Iterator for LowercaseByteIter < ' b > {
396+ impl Iterator for LowercaseByteIter < ' _ > {
397397 type Item = u8 ;
398398 #[ inline]
399399 fn next ( & mut self ) -> Option < u8 > {
@@ -403,44 +403,44 @@ impl<'b> Iterator for LowercaseByteIter<'b> {
403403 fn size_hint ( & self ) -> ( usize , Option < usize > ) { self . iter . size_hint ( ) }
404404}
405405
406- impl < ' b > ExactSizeIterator for LowercaseByteIter < ' b > {
406+ impl ExactSizeIterator for LowercaseByteIter < ' _ > {
407407 #[ inline]
408408 fn len ( & self ) -> usize { self . iter . len ( ) }
409409}
410410
411- impl < ' b > DoubleEndedIterator for LowercaseByteIter < ' b > {
411+ impl DoubleEndedIterator for LowercaseByteIter < ' _ > {
412412 #[ inline]
413413 fn next_back ( & mut self ) -> Option < Self :: Item > {
414414 self . iter . next_back ( ) . map ( |b| if is_ascii_uppercase ( b) { b | 32 } else { b } )
415415 }
416416}
417417
418- impl < ' b > FusedIterator for LowercaseByteIter < ' b > { }
418+ impl FusedIterator for LowercaseByteIter < ' _ > { }
419419
420420/// Iterator over lowercase ASCII characters of the human-readable part.
421421pub struct LowercaseCharIter < ' b > {
422422 iter : LowercaseByteIter < ' b > ,
423423}
424424
425- impl < ' b > Iterator for LowercaseCharIter < ' b > {
425+ impl Iterator for LowercaseCharIter < ' _ > {
426426 type Item = char ;
427427 #[ inline]
428428 fn next ( & mut self ) -> Option < char > { self . iter . next ( ) . map ( Into :: into) }
429429 #[ inline]
430430 fn size_hint ( & self ) -> ( usize , Option < usize > ) { self . iter . size_hint ( ) }
431431}
432432
433- impl < ' b > ExactSizeIterator for LowercaseCharIter < ' b > {
433+ impl ExactSizeIterator for LowercaseCharIter < ' _ > {
434434 #[ inline]
435435 fn len ( & self ) -> usize { self . iter . len ( ) }
436436}
437437
438- impl < ' b > DoubleEndedIterator for LowercaseCharIter < ' b > {
438+ impl DoubleEndedIterator for LowercaseCharIter < ' _ > {
439439 #[ inline]
440440 fn next_back ( & mut self ) -> Option < Self :: Item > { self . iter . next_back ( ) . map ( Into :: into) }
441441}
442442
443- impl < ' b > FusedIterator for LowercaseCharIter < ' b > { }
443+ impl FusedIterator for LowercaseCharIter < ' _ > { }
444444
445445fn is_ascii_uppercase ( b : u8 ) -> bool { ( 65 ..=90 ) . contains ( & b) }
446446
0 commit comments