Commit ff346b9
from review: more robust test
This also checks the contents and not only the capacity in case IntoIter's clone implementation is changed to add capacity at the end. Extra capacity at the beginning would be needed to make InPlaceIterable work.
Co-authored-by: Giacomo Stevanato <giaco.stevanato@gmail.com>1 parent c47274b commit ff346b9
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1100 | 1100 | | |
1101 | 1101 | | |
1102 | 1102 | | |
1103 | | - | |
| 1103 | + | |
1104 | 1104 | | |
1105 | 1105 | | |
| 1106 | + | |
1106 | 1107 | | |
1107 | 1108 | | |
1108 | | - | |
1109 | 1109 | | |
1110 | 1110 | | |
1111 | 1111 | | |
| |||
0 commit comments