File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
library/core/src/iter/sources Expand file tree Collapse file tree 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;
5757/// assert_eq!(None, it.next());
5858/// ```
5959#[ 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
6562pub fn repeat_n < T : Clone > ( element : T , count : usize ) -> RepeatN < T > {
6663 let mut element = ManuallyDrop :: new ( element) ;
6764
@@ -80,11 +77,8 @@ pub fn repeat_n<T: Clone>(element: T, count: usize) -> RepeatN<T> {
8077/// This `struct` is created by the [`repeat_n()`] function.
8178/// See its documentation for more.
8279#[ 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
8882pub struct RepeatN < A > {
8983 count : usize ,
9084 // Invariant: has been dropped iff count == 0.
You can’t perform that action at this time.
0 commit comments