Commit 32a216e
authored
Reuse previous
Minor optimization to avoid deallocating/reallocating a new `Vec` in the
top `check_doc` loop.
changelog: none
r? blyxyasVec allocation in loop (rust-lang#15428)1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
| 1142 | + | |
1142 | 1143 | | |
1143 | | - | |
| 1144 | + | |
1144 | 1145 | | |
1145 | 1146 | | |
1146 | 1147 | | |
1147 | | - | |
1148 | 1148 | | |
1149 | 1149 | | |
1150 | 1150 | | |
| |||
0 commit comments