Iterator::find: link to Iterator::position in docs for discoverability
This commit is contained in:
parent
298d763fc0
commit
37b88c842a
@ -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…
x
Reference in New Issue
Block a user