This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit fb506af
authored
Rollup merge of rust-lang#72720 - poliorcetics:clarify-take-doc, r=joshtriplett
Clarify the documentation of `take`
This PR addresses the concerns of rust-lang#61222, adding an example for the behaviour of `Iterator::take` when there are less than `n` elements.1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
1183 | 1194 | | |
1184 | 1195 | | |
1185 | 1196 | | |
| |||
0 commit comments