File tree 5 files changed +1
-7
lines changed
5 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 89
89
#![ feature( core_intrinsics) ]
90
90
#![ feature( container_error_extra) ]
91
91
#![ feature( dropck_eyepatch) ]
92
- #![ feature( exact_size_is_empty) ]
93
92
#![ feature( fmt_internals) ]
94
93
#![ feature( fn_traits) ]
95
94
#![ feature( fundamental) ]
Original file line number Diff line number Diff line change 1
1
#![ feature( allocator_api) ]
2
2
#![ feature( box_syntax) ]
3
3
#![ feature( drain_filter) ]
4
- #![ feature( exact_size_is_empty) ]
5
4
#![ feature( new_uninit) ]
6
5
#![ feature( option_flattening) ]
7
6
#![ feature( pattern) ]
Original file line number Diff line number Diff line change @@ -114,8 +114,6 @@ pub trait ExactSizeIterator: Iterator {
114
114
/// Basic usage:
115
115
///
116
116
/// ```
117
- /// #![feature(exact_size_is_empty)]
118
- ///
119
117
/// let mut one_element = std::iter::once(0);
120
118
/// assert!(!one_element.is_empty());
121
119
///
@@ -125,7 +123,7 @@ pub trait ExactSizeIterator: Iterator {
125
123
/// assert_eq!(one_element.next(), None);
126
124
/// ```
127
125
#[ inline]
128
- #[ unstable ( feature = "exact_size_is_empty" , issue = "35428 " ) ]
126
+ #[ stable ( feature = "exact_size_is_empty" , since = "1.40.0 " ) ]
129
127
fn is_empty ( & self ) -> bool {
130
128
self . len ( ) == 0
131
129
}
Original file line number Diff line number Diff line change 6
6
#![ feature( core_private_diy_float) ]
7
7
#![ feature( debug_map_key_value) ]
8
8
#![ feature( dec2flt) ]
9
- #![ feature( exact_size_is_empty) ]
10
9
#![ feature( fixed_size_array) ]
11
10
#![ feature( flt2dec) ]
12
11
#![ feature( fmt_internals) ]
Original file line number Diff line number Diff line change 258
258
#![ feature( doc_spotlight) ]
259
259
#![ feature( dropck_eyepatch) ]
260
260
#![ feature( duration_constants) ]
261
- #![ feature( exact_size_is_empty) ]
262
261
#![ feature( exhaustive_patterns) ]
263
262
#![ feature( external_doc) ]
264
263
#![ feature( fn_traits) ]
You can’t perform that action at this time.
0 commit comments