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
1 changed files with 1 additions and 1 deletions

View File

@ -935,7 +935,7 @@ pub trait Iterator {
/// 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)`.
///
/// # Examples