File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -630,6 +630,7 @@ impl Iterator for Args {
630
630
#[ stable( feature = "env" , since = "1.0.0" ) ]
631
631
impl ExactSizeIterator for Args {
632
632
fn len ( & self ) -> usize { self . inner . len ( ) }
633
+ fn is_empty ( & self ) -> bool { self . inner . is_empty ( ) }
633
634
}
634
635
635
636
#[ stable( feature = "env_iterators" , since = "1.11.0" ) ]
@@ -649,6 +650,7 @@ impl Iterator for ArgsOs {
649
650
#[ stable( feature = "env" , since = "1.0.0" ) ]
650
651
impl ExactSizeIterator for ArgsOs {
651
652
fn len ( & self ) -> usize { self . inner . len ( ) }
653
+ fn is_empty ( & self ) -> bool { self . inner . is_empty ( ) }
652
654
}
653
655
654
656
#[ stable( feature = "env_iterators" , since = "1.11.0" ) ]
Original file line number Diff line number Diff line change 250
250
#![ feature( core_float) ]
251
251
#![ feature( core_intrinsics) ]
252
252
#![ feature( dropck_parametricity) ]
253
+ #![ feature( exact_size_is_empty) ]
253
254
#![ feature( float_extras) ]
254
255
#![ feature( float_from_str_radix) ]
255
256
#![ feature( fn_traits) ]
You can’t perform that action at this time.
0 commit comments