]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #25646 - huonw:align, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 26 Jun 2015 02:58:31 +0000 (02:58 +0000)
committerbors <bors@rust-lang.org>
Fri, 26 Jun 2015 02:58:31 +0000 (02:58 +0000)
This removes a footgun, since it is a reasonable assumption to make that
pointers to `T` will be aligned to `align_of::<T>()`. This also matches
the behaviour of C/C++. `min_align_of` is now deprecated.

Closes #21611.

1  2 
src/libcollections/vec.rs

Simple merge