Format code-like text in Iterator::cloned doc-comment
This commit is contained in:
parent
bcd27eb7d5
commit
f18d1ad324
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue