diff --git a/src/libcore/iter/sources.rs b/src/libcore/iter/sources.rs index d77e8d4db04..b364292f57e 100644 --- a/src/libcore/iter/sources.rs +++ b/src/libcore/iter/sources.rs @@ -163,7 +163,7 @@ unsafe impl A> TrustedLen for RepeatWith {} /// Basic usage: /// /// ``` -/// #![feature("iterator_repeat_with")] +/// #![feature(iterator_repeat_with)] /// /// use std::iter; /// @@ -185,7 +185,7 @@ unsafe impl A> TrustedLen for RepeatWith {} /// Using mutation and going finite: /// /// ```rust -/// #![feature("iterator_repeat_with")] +/// #![feature(iterator_repeat_with)] /// /// use std::iter; ///