Skip to content

Commit aa72e54

Browse files
committed
Un-hide iter::repeat_n
1 parent 6bf600b commit aa72e54

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ use crate::num::NonZeroUsize;
5959
/// ```
6060
#[inline]
6161
#[unstable(feature = "iter_repeat_n", issue = "104434")]
62-
#[doc(hidden)] // waiting on ACP#120 to decide whether to expose publicly
6362
pub fn repeat_n<T: Clone>(element: T, count: usize) -> RepeatN<T> {
6463
let mut element = ManuallyDrop::new(element);
6564

@@ -79,7 +78,6 @@ pub fn repeat_n<T: Clone>(element: T, count: usize) -> RepeatN<T> {
7978
/// See its documentation for more.
8079
#[derive(Clone, Debug)]
8180
#[unstable(feature = "iter_repeat_n", issue = "104434")]
82-
#[doc(hidden)] // waiting on ACP#120 to decide whether to expose publicly
8381
pub struct RepeatN<A> {
8482
count: usize,
8583
// Invariant: has been dropped iff count == 0.

0 commit comments

Comments
 (0)