Commit b24b3d2
committed
Use a single ptr::drop_in_place call instead of a loop
This is what the standard Vec does; see rust-lang/rust#32012.1 parent 73b24b4 commit b24b3d2
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1186 | 1186 | | |
1187 | 1187 | | |
1188 | 1188 | | |
1189 | | - | |
1190 | | - | |
1191 | | - | |
1192 | | - | |
| 1189 | + | |
1193 | 1190 | | |
1194 | 1191 | | |
1195 | 1192 | | |
| |||
0 commit comments