@@ -38,7 +38,7 @@ use crate::alloc::{Allocator, Global};
38
38
/// println!("Our BTreeSet: {:?}", set);
39
39
/// assert!(set.iter().eq(&["a", "b", "c", "d", "e"]));
40
40
/// ```
41
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
41
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
42
42
pub enum Entry <
43
43
' a ,
44
44
T ,
@@ -60,7 +60,7 @@ pub enum Entry<
60
60
/// Entry::Occupied(_) => { }
61
61
/// }
62
62
/// ```
63
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
63
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
64
64
Occupied ( OccupiedEntry < ' a , T , A > ) ,
65
65
66
66
/// A vacant entry.
@@ -79,11 +79,11 @@ pub enum Entry<
79
79
/// Entry::Vacant(_) => { }
80
80
/// }
81
81
/// ```
82
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
82
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
83
83
Vacant ( VacantEntry < ' a , T , A > ) ,
84
84
}
85
85
86
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
86
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
87
87
impl < T : Debug + Ord , A : Allocator + Clone > Debug for Entry < ' _ , T , A > {
88
88
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
89
89
match * self {
@@ -129,7 +129,7 @@ impl<T: Debug + Ord, A: Allocator + Clone> Debug for Entry<'_, T, A> {
129
129
/// assert_eq!(set.get(&"c"), None);
130
130
/// assert_eq!(set.len(), 2);
131
131
/// ```
132
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
132
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
133
133
pub struct OccupiedEntry <
134
134
' a ,
135
135
T ,
@@ -138,7 +138,7 @@ pub struct OccupiedEntry<
138
138
pub ( super ) inner : map:: OccupiedEntry < ' a , T , SetValZST , A > ,
139
139
}
140
140
141
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
141
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
142
142
impl < T : Debug + Ord , A : Allocator + Clone > Debug for OccupiedEntry < ' _ , T , A > {
143
143
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
144
144
f. debug_struct ( "OccupiedEntry" ) . field ( "value" , self . get ( ) ) . finish ( )
@@ -171,7 +171,7 @@ impl<T: Debug + Ord, A: Allocator + Clone> Debug for OccupiedEntry<'_, T, A> {
171
171
/// }
172
172
/// assert!(set.contains("b") && set.len() == 2);
173
173
/// ```
174
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
174
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
175
175
pub struct VacantEntry <
176
176
' a ,
177
177
T ,
@@ -180,7 +180,7 @@ pub struct VacantEntry<
180
180
pub ( super ) inner : map:: VacantEntry < ' a , T , SetValZST , A > ,
181
181
}
182
182
183
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
183
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
184
184
impl < T : Debug + Ord , A : Allocator + Clone > Debug for VacantEntry < ' _ , T , A > {
185
185
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
186
186
f. debug_tuple ( "VacantEntry" ) . field ( self . get ( ) ) . finish ( )
@@ -203,7 +203,7 @@ impl<'a, T: Ord, A: Allocator + Clone> Entry<'a, T, A> {
203
203
/// assert_eq!(entry.get(), &"horseyland");
204
204
/// ```
205
205
#[ inline]
206
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
206
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
207
207
pub fn insert ( self ) -> OccupiedEntry < ' a , T , A > {
208
208
match self {
209
209
Occupied ( entry) => entry,
@@ -232,7 +232,7 @@ impl<'a, T: Ord, A: Allocator + Clone> Entry<'a, T, A> {
232
232
/// assert_eq!(set.len(), 1);
233
233
/// ```
234
234
#[ inline]
235
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
235
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
236
236
pub fn or_insert ( self ) {
237
237
if let Vacant ( entry) = self {
238
238
entry. insert ( ) ;
@@ -257,7 +257,7 @@ impl<'a, T: Ord, A: Allocator + Clone> Entry<'a, T, A> {
257
257
/// assert_eq!(set.entry("horseland").get(), &"horseland");
258
258
/// ```
259
259
#[ inline]
260
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
260
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
261
261
pub fn get ( & self ) -> & T {
262
262
match * self {
263
263
Occupied ( ref entry) => entry. get ( ) ,
@@ -285,7 +285,7 @@ impl<'a, T: Ord, A: Allocator + Clone> OccupiedEntry<'a, T, A> {
285
285
/// }
286
286
/// ```
287
287
#[ inline]
288
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
288
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
289
289
pub fn get ( & self ) -> & T {
290
290
self . inner . key ( )
291
291
}
@@ -310,7 +310,7 @@ impl<'a, T: Ord, A: Allocator + Clone> OccupiedEntry<'a, T, A> {
310
310
/// assert_eq!(set.contains("poneyland"), false);
311
311
/// ```
312
312
#[ inline]
313
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
313
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
314
314
pub fn remove ( self ) -> T {
315
315
self . inner . remove_entry ( ) . 0
316
316
}
@@ -331,7 +331,7 @@ impl<'a, T: Ord, A: Allocator + Clone> VacantEntry<'a, T, A> {
331
331
/// assert_eq!(set.entry("poneyland").get(), &"poneyland");
332
332
/// ```
333
333
#[ inline]
334
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
334
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
335
335
pub fn get ( & self ) -> & T {
336
336
self . inner . key ( )
337
337
}
@@ -353,7 +353,7 @@ impl<'a, T: Ord, A: Allocator + Clone> VacantEntry<'a, T, A> {
353
353
/// }
354
354
/// ```
355
355
#[ inline]
356
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
356
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
357
357
pub fn into_value ( self ) -> T {
358
358
self . inner . into_key ( )
359
359
}
@@ -376,7 +376,7 @@ impl<'a, T: Ord, A: Allocator + Clone> VacantEntry<'a, T, A> {
376
376
/// assert!(set.contains("poneyland"));
377
377
/// ```
378
378
#[ inline]
379
- #[ unstable( feature = "btree_set_entry" , issue = "none " ) ]
379
+ #[ unstable( feature = "btree_set_entry" , issue = "133549 " ) ]
380
380
pub fn insert ( self ) {
381
381
self . inner . insert ( SetValZST ) ;
382
382
}
0 commit comments