Examples for Iterator::rposition(F) do not differentiate it from ::position(F) #101095
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.rposition
Description should provide a clear meaning for 'index' – index within the collection, or index as number of iteration?
Examples for rposition should demonstrate a clear difference from position.
Here's the example of rposition with an added comparison with the result of the situation with position.
My proposition: use the same example as position(F)
The text was updated successfully, but these errors were encountered: