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> {
207
207
impl < ' b > Iterator for ByteIter < ' b > {
208
208
type Item = u8 ;
209
209
fn next ( & mut self ) -> Option < u8 > { self . iter . next ( ) . copied ( ) }
210
-
211
210
fn size_hint ( & self ) -> ( usize , Option < usize > ) { ( self . len ( ) , Some ( self . len ( ) ) ) }
212
211
}
213
212
@@ -231,7 +230,6 @@ pub struct CharIter<'b> {
231
230
impl < ' b > Iterator for CharIter < ' b > {
232
231
type Item = char ;
233
232
fn next ( & mut self ) -> Option < char > { self . iter . next ( ) . map ( Into :: into) }
234
-
235
233
fn size_hint ( & self ) -> ( usize , Option < usize > ) { ( self . len ( ) , Some ( self . len ( ) ) ) }
236
234
}
237
235
@@ -255,7 +253,6 @@ impl<'b> Iterator for LowercaseByteIter<'b> {
255
253
fn next ( & mut self ) -> Option < u8 > {
256
254
self . iter . next ( ) . map ( |b| if is_ascii_uppercase ( b) { b | 32 } else { b } )
257
255
}
258
-
259
256
fn size_hint ( & self ) -> ( usize , Option < usize > ) { ( self . len ( ) , Some ( self . len ( ) ) ) }
260
257
}
261
258
@@ -279,7 +276,6 @@ pub struct LowercaseCharIter<'b> {
279
276
impl < ' b > Iterator for LowercaseCharIter < ' b > {
280
277
type Item = char ;
281
278
fn next ( & mut self ) -> Option < char > { self . iter . next ( ) . map ( Into :: into) }
282
-
283
279
fn size_hint ( & self ) -> ( usize , Option < usize > ) { ( self . len ( ) , Some ( self . len ( ) ) ) }
284
280
}
285
281
You can’t perform that action at this time.
0 commit comments