Skip to content

Commit 71bb200

Browse files
committed
Hide the items while waiting for the ACP
1 parent d62b903 commit 71bb200

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

library/core/src/iter/sources/repeat_n.rs

+4-10
Original file line numberDiff line numberDiff 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
6562
pub 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
8882
pub struct RepeatN<A> {
8983
count: usize,
9084
// Invariant: has been dropped iff count == 0.

0 commit comments

Comments
 (0)