about summary refs log tree commit diff
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2024-01-16 21:33:43 -0800
committerScott McMurray <scottmcm@users.noreply.github.com>2024-01-16 21:45:24 -0800
commitaa72e549cf779f82170203f70cc519fbbbfaa98b (patch)
tree514961fa1d247f137c74cfc31fe32f5fcc9956d7
parent6bf600bc98879bf1bf2ab0f3b3b37c965f5bdff6 (diff)
downloadrust-aa72e549cf779f82170203f70cc519fbbbfaa98b.tar.gz
rust-aa72e549cf779f82170203f70cc519fbbbfaa98b.zip
Un-hide `iter::repeat_n`
-rw-r--r--library/core/src/iter/sources/repeat_n.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/core/src/iter/sources/repeat_n.rs b/library/core/src/iter/sources/repeat_n.rs
index 0b0445850bf..db2f8b7ac28 100644
--- a/library/core/src/iter/sources/repeat_n.rs
+++ b/library/core/src/iter/sources/repeat_n.rs
@@ -59,7 +59,6 @@ use crate::num::NonZeroUsize;
 /// ```
 #[inline]
 #[unstable(feature = "iter_repeat_n", issue = "104434")]
-#[doc(hidden)] // waiting on ACP#120 to decide whether to expose publicly
 pub fn repeat_n<T: Clone>(element: T, count: usize) -> RepeatN<T> {
     let mut element = ManuallyDrop::new(element);
 
@@ -79,7 +78,6 @@ pub fn repeat_n<T: Clone>(element: T, count: usize) -> RepeatN<T> {
 /// See its documentation for more.
 #[derive(Clone, Debug)]
 #[unstable(feature = "iter_repeat_n", issue = "104434")]
-#[doc(hidden)] // waiting on ACP#120 to decide whether to expose publicly
 pub struct RepeatN<A> {
     count: usize,
     // Invariant: has been dropped iff count == 0.