From: Mazdak Farrokhzad Date: Mon, 12 Feb 2018 08:18:22 +0000 (+0100) Subject: core::iter::repeat_with: fix doc tests X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=efa332038c74931738c44f48622c2a99b5a36cf0;p=rust.git core::iter::repeat_with: fix doc tests --- 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; ///