This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit ea56916
authored
Unrolled build for rust-lang#115588
Rollup merge of rust-lang#115588 - tifv:fix-comment-successors, r=scottmcm
Fix a comment in std::iter::successors
The `unfold` function have since rust-lang#58062 been renamed to `from_fn`.
(I'm not sure if this whole comment is still useful—it's not like there are many iterators that *can't* be based on `from_fn`. Anyway, in its current form this comment is not correct, and it sent me into a half-hour research of what happened to `unfold` function, so I want to do *something* with it 🙃 deleting these three lines is a perfectly fine alternative, in my opinion.)1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments