@@ -113,12 +113,12 @@ pub fn repeat<T: Clone>(elt: T) -> Repeat<T> {
113
113
///
114
114
/// [`repeat_with`]: fn.repeat_with.html
115
115
#[ derive( Copy , Clone , Debug ) ]
116
- #[ unstable( feature = "iterator_repeat_with" , issue = "0 " ) ]
116
+ #[ unstable( feature = "iterator_repeat_with" , issue = "48169 " ) ]
117
117
pub struct RepeatWith < F > {
118
118
repeater : F
119
119
}
120
120
121
- #[ unstable( feature = "iterator_repeat_with" , issue = "0 " ) ]
121
+ #[ unstable( feature = "iterator_repeat_with" , issue = "48169 " ) ]
122
122
impl < A , F : FnMut ( ) -> A > Iterator for RepeatWith < F > {
123
123
type Item = A ;
124
124
@@ -129,7 +129,7 @@ impl<A, F: FnMut() -> A> Iterator for RepeatWith<F> {
129
129
fn size_hint ( & self ) -> ( usize , Option < usize > ) { ( usize:: MAX , None ) }
130
130
}
131
131
132
- #[ unstable( feature = "iterator_repeat_with" , issue = "0 " ) ]
132
+ #[ unstable( feature = "iterator_repeat_with" , issue = "48169 " ) ]
133
133
impl < A , F : FnMut ( ) -> A > DoubleEndedIterator for RepeatWith < F > {
134
134
#[ inline]
135
135
fn next_back ( & mut self ) -> Option < A > { self . next ( ) }
@@ -209,7 +209,7 @@ unsafe impl<A, F: FnMut() -> A> TrustedLen for RepeatWith<F> {}
209
209
/// assert_eq!(None, pow2.next());
210
210
/// ```
211
211
#[ inline]
212
- #[ unstable( feature = "iterator_repeat_with" , issue = "0 " ) ]
212
+ #[ unstable( feature = "iterator_repeat_with" , issue = "48169 " ) ]
213
213
pub fn repeat_with < A , F : FnMut ( ) -> A > ( repeater : F ) -> RepeatWith < F > {
214
214
RepeatWith { repeater }
215
215
}
0 commit comments