1
Fork 0

Format code-like text in Iterator::cloned doc-comment

This commit is contained in:
Corey Farwell 2015-10-08 08:00:02 -04:00
parent bcd27eb7d5
commit f18d1ad324

View file

@ -935,7 +935,7 @@ pub trait Iterator {
/// Creates an iterator that clones the elements it yields. /// Creates an iterator that clones the elements it yields.
/// ///
/// This is useful for converting an Iterator<&T> to an Iterator<T>, /// This is useful for converting an `Iterator<&T>` to an`Iterator<T>`,
/// so it's a more convenient form of `map(|&x| x)`. /// so it's a more convenient form of `map(|&x| x)`.
/// ///
/// # Examples /// # Examples