]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #58183 - jethrogb:jb/alloc-box-guarantees, r=SimonSapin
authorMazdak Farrokhzad <twingoow@gmail.com>
Sun, 24 Feb 2019 04:55:57 +0000 (05:55 +0100)
committerGitHub <noreply@github.com>
Sun, 24 Feb 2019 04:55:57 +0000 (05:55 +0100)
commit55b5ab83592d607a6ba8793ac76bedadb05e5bab
tree9130191c9fc3dd78b2e88633c54ad2d207737ea8
parentae646687e0032564469f2c839063bee2485e88e4
parente41e694d9e5a6bcb2109c936df9757879a65eb59
Rollup merge of #58183 - jethrogb:jb/alloc-box-guarantees, r=SimonSapin

Clarify guarantees for `Box` allocation

This basically says `Box` does the obvious things for its allocations.

See also: https://users.rust-lang.org/t/alloc-crate-guarantees/24981

This may require a T-libs FCP? Not sure.

r? @sfackler
src/liballoc/boxed.rs