Commit 0bfd367
authored
Rollup merge of rust-lang#134782 - wtlin1228:docs/iter-rposition, r=Mark-Simulacrum
Update Code Example for `Iterator::rposition`
Added an additional assertion to the example to show the behavior of `iter.next_back` after using `iter.rposition`.1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3051 | 3051 | | |
3052 | 3052 | | |
3053 | 3053 | | |
| 3054 | + | |
3054 | 3055 | | |
3055 | 3056 | | |
3056 | 3057 | | |
| |||
0 commit comments