Skip to content

Commit 9652b15

Browse files
authored
Rollup merge of rust-lang#120045 - scottmcm:unhide-repeat-n, r=Mark-Simulacrum
Un-hide `iter::repeat_n` ACP accepted in rust-lang/libs-team#120 (comment)
2 parents 695df12 + aa72e54 commit 9652b15

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)