Commit 344a3f8
committed
Mark
`into_iter` serves no function if not iterated over.
If it's being used just to consume `self`, that would be better served
by `drop`.into_iter as #[must_use]
1 parent 198328a commit 344a3f8
File tree
2 files changed
+2
-1
lines changed- library
- coretests/tests
- core/src/iter/traits
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments