File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,6 @@ pub struct ByteIter<'b> {
207207impl < ' b > Iterator for ByteIter < ' b > {
208208 type Item = u8 ;
209209 fn next ( & mut self ) -> Option < u8 > { self . iter . next ( ) . copied ( ) }
210-
211210 fn size_hint ( & self ) -> ( usize , Option < usize > ) { ( self . len ( ) , Some ( self . len ( ) ) ) }
212211}
213212
@@ -231,7 +230,6 @@ pub struct CharIter<'b> {
231230impl < ' b > Iterator for CharIter < ' b > {
232231 type Item = char ;
233232 fn next ( & mut self ) -> Option < char > { self . iter . next ( ) . map ( Into :: into) }
234-
235233 fn size_hint ( & self ) -> ( usize , Option < usize > ) { ( self . len ( ) , Some ( self . len ( ) ) ) }
236234}
237235
@@ -255,7 +253,6 @@ impl<'b> Iterator for LowercaseByteIter<'b> {
255253 fn next ( & mut self ) -> Option < u8 > {
256254 self . iter . next ( ) . map ( |b| if is_ascii_uppercase ( b) { b | 32 } else { b } )
257255 }
258-
259256 fn size_hint ( & self ) -> ( usize , Option < usize > ) { ( self . len ( ) , Some ( self . len ( ) ) ) }
260257}
261258
@@ -279,7 +276,6 @@ pub struct LowercaseCharIter<'b> {
279276impl < ' b > Iterator for LowercaseCharIter < ' b > {
280277 type Item = char ;
281278 fn next ( & mut self ) -> Option < char > { self . iter . next ( ) . map ( Into :: into) }
282-
283279 fn size_hint ( & self ) -> ( usize , Option < usize > ) { ( self . len ( ) , Some ( self . len ( ) ) ) }
284280}
285281
You can’t perform that action at this time.
0 commit comments