File tree 1 file changed +4
-10
lines changed
library/core/src/iter/sources
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,8 @@ use crate::mem::ManuallyDrop;
57
57
/// assert_eq!(None, it.next());
58
58
/// ```
59
59
#[ inline]
60
- #[ unstable(
61
- feature = "iter_repeat_n" ,
62
- reason = "waiting on FCP to decide whether to expose publicly" ,
63
- issue = "104434"
64
- ) ]
60
+ #[ unstable( feature = "iter_repeat_n" , issue = "104434" ) ]
61
+ #[ doc( hidden) ] // waiting on ACP#120 to decide whether to expose publicly
65
62
pub fn repeat_n < T : Clone > ( element : T , count : usize ) -> RepeatN < T > {
66
63
let mut element = ManuallyDrop :: new ( element) ;
67
64
@@ -80,11 +77,8 @@ pub fn repeat_n<T: Clone>(element: T, count: usize) -> RepeatN<T> {
80
77
/// This `struct` is created by the [`repeat_n()`] function.
81
78
/// See its documentation for more.
82
79
#[ derive( Clone , Debug ) ]
83
- #[ unstable(
84
- feature = "iter_repeat_n" ,
85
- reason = "waiting on FCP to decide whether to expose publicly" ,
86
- issue = "104434"
87
- ) ]
80
+ #[ unstable( feature = "iter_repeat_n" , issue = "104434" ) ]
81
+ #[ doc( hidden) ] // waiting on ACP#120 to decide whether to expose publicly
88
82
pub struct RepeatN < A > {
89
83
count : usize ,
90
84
// Invariant: has been dropped iff count == 0.
You can’t perform that action at this time.
0 commit comments