small iter.intersperse.fold() optimization No need to call into fold when the first item is already None, this avoids some redundant work for empty iterators. "But it uses Fuse" one might want to protest, but Fuse is specialized and may call into the inner iterator anyway. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||