Commit d88b2d9
bors-servo
Auto merge of #100 - mbrubeck:drop, r=SimonSapin
Use a single ptr::drop_in_place call instead of a loop
This is what the standard Vec does; see rust-lang/rust#32012.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/100)
<!-- Reviewable:end -->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