Skip to content

Commit efa3320

Browse files
committed
core::iter::repeat_with: fix doc tests
1 parent 55c669c commit efa3320

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/iter/sources.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ unsafe impl<A, F: FnMut() -> A> TrustedLen for RepeatWith<F> {}
163163
/// Basic usage:
164164
///
165165
/// ```
166-
/// #![feature("iterator_repeat_with")]
166+
/// #![feature(iterator_repeat_with)]
167167
///
168168
/// use std::iter;
169169
///
@@ -185,7 +185,7 @@ unsafe impl<A, F: FnMut() -> A> TrustedLen for RepeatWith<F> {}
185185
/// Using mutation and going finite:
186186
///
187187
/// ```rust
188-
/// #![feature("iterator_repeat_with")]
188+
/// #![feature(iterator_repeat_with)]
189189
///
190190
/// use std::iter;
191191
///

0 commit comments

Comments
 (0)