File tree Expand file tree Collapse file tree 5 files changed +1
-7
lines changed Expand file tree Collapse file tree 5 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 8989#![ feature( core_intrinsics) ]
9090#![ feature( container_error_extra) ]
9191#![ feature( dropck_eyepatch) ]
92- #![ feature( exact_size_is_empty) ]
9392#![ feature( fmt_internals) ]
9493#![ feature( fn_traits) ]
9594#![ feature( fundamental) ]
Original file line number Diff line number Diff line change 11#![ feature( allocator_api) ]
22#![ feature( box_syntax) ]
33#![ feature( drain_filter) ]
4- #![ feature( exact_size_is_empty) ]
54#![ feature( new_uninit) ]
65#![ feature( option_flattening) ]
76#![ feature( pattern) ]
Original file line number Diff line number Diff line change @@ -114,8 +114,6 @@ pub trait ExactSizeIterator: Iterator {
114114 /// Basic usage:
115115 ///
116116 /// ```
117- /// #![feature(exact_size_is_empty)]
118- ///
119117 /// let mut one_element = std::iter::once(0);
120118 /// assert!(!one_element.is_empty());
121119 ///
@@ -125,7 +123,7 @@ pub trait ExactSizeIterator: Iterator {
125123 /// assert_eq!(one_element.next(), None);
126124 /// ```
127125 #[ inline]
128- #[ unstable ( feature = "exact_size_is_empty" , issue = "35428 " ) ]
126+ #[ stable ( feature = "exact_size_is_empty" , since = "1.40.0 " ) ]
129127 fn is_empty ( & self ) -> bool {
130128 self . len ( ) == 0
131129 }
Original file line number Diff line number Diff line change 66#![ feature( core_private_diy_float) ]
77#![ feature( debug_map_key_value) ]
88#![ feature( dec2flt) ]
9- #![ feature( exact_size_is_empty) ]
109#![ feature( fixed_size_array) ]
1110#![ feature( flt2dec) ]
1211#![ feature( fmt_internals) ]
Original file line number Diff line number Diff line change 258258#![ feature( doc_spotlight) ]
259259#![ feature( dropck_eyepatch) ]
260260#![ feature( duration_constants) ]
261- #![ feature( exact_size_is_empty) ]
262261#![ feature( exhaustive_patterns) ]
263262#![ feature( external_doc) ]
264263#![ feature( fn_traits) ]
You can’t perform that action at this time.
0 commit comments