]> git.lizzy.rs Git - rust.git/commit
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)
commit378a370ff2057afeb1eae86eb6e78c476866a4a6
tree0c97a350fa399bce435bbe8d36f2e92d61de38d7
parentb70d1c601d2dbbe1901eba2a745c9cbe49bb3ad1
parent225b116829ef76b72f01c2ebf718259c20aa7e14
Auto merge of #25646 - huonw:align, r=alexcrichton

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.
src/libcollections/vec.rs