@@ -113,12 +113,12 @@ pub fn repeat<T: Clone>(elt: T) -> Repeat<T> {
113113///
114114/// [`repeat_with`]: fn.repeat_with.html
115115#[ derive( Copy , Clone , Debug ) ]
116- #[ unstable( feature = "iterator_repeat_with" , issue = "0 " ) ]
116+ #[ unstable( feature = "iterator_repeat_with" , issue = "48169 " ) ]
117117pub struct RepeatWith < F > {
118118 repeater : F
119119}
120120
121- #[ unstable( feature = "iterator_repeat_with" , issue = "0 " ) ]
121+ #[ unstable( feature = "iterator_repeat_with" , issue = "48169 " ) ]
122122impl < A , F : FnMut ( ) -> A > Iterator for RepeatWith < F > {
123123 type Item = A ;
124124
@@ -129,7 +129,7 @@ impl<A, F: FnMut() -> A> Iterator for RepeatWith<F> {
129129 fn size_hint ( & self ) -> ( usize , Option < usize > ) { ( usize:: MAX , None ) }
130130}
131131
132- #[ unstable( feature = "iterator_repeat_with" , issue = "0 " ) ]
132+ #[ unstable( feature = "iterator_repeat_with" , issue = "48169 " ) ]
133133impl < A , F : FnMut ( ) -> A > DoubleEndedIterator for RepeatWith < F > {
134134 #[ inline]
135135 fn next_back ( & mut self ) -> Option < A > { self . next ( ) }
@@ -209,7 +209,7 @@ unsafe impl<A, F: FnMut() -> A> TrustedLen for RepeatWith<F> {}
209209/// assert_eq!(None, pow2.next());
210210/// ```
211211#[ inline]
212- #[ unstable( feature = "iterator_repeat_with" , issue = "0 " ) ]
212+ #[ unstable( feature = "iterator_repeat_with" , issue = "48169 " ) ]
213213pub fn repeat_with < A , F : FnMut ( ) -> A > ( repeater : F ) -> RepeatWith < F > {
214214 RepeatWith { repeater }
215215}
0 commit comments