Iterator::find: link to Iterator::position in docs for discoverability
This commit is contained in:
parent
298d763fc0
commit
37b88c842a
1 changed files with 3 additions and 0 deletions
|
|
@ -2653,7 +2653,10 @@ pub trait Iterator {
|
|||
/// argument is a double reference. You can see this effect in the
|
||||
/// examples below, with `&&x`.
|
||||
///
|
||||
/// If you need the index of the element, see [`position()`].
|
||||
///
|
||||
/// [`Some(element)`]: Some
|
||||
/// [`position()`]: Iterator::position
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue