Commit 5efa232
committed
Check that the
This is important because the underlying allocator of the `Vec` passes that
information to the deallocator which needs the guarantee that it is the same
parameters that were also passed to the allocation function.min_align_of the both types in a PartialVec matches1 parent 23f2c78 commit 5efa232
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1756 | 1756 | | |
1757 | 1757 | | |
1758 | 1758 | | |
| 1759 | + | |
| 1760 | + | |
1759 | 1761 | | |
1760 | 1762 | | |
1761 | 1763 | | |
| |||
1773 | 1775 | | |
1774 | 1776 | | |
1775 | 1777 | | |
1776 | | - | |
| 1778 | + | |
| 1779 | + | |
1777 | 1780 | | |
1778 | | - | |
| 1781 | + | |
1779 | 1782 | | |
1780 | 1783 | | |
1781 | 1784 | | |
| 1785 | + | |
1782 | 1786 | | |
1783 | 1787 | | |
1784 | 1788 | | |
| |||
0 commit comments