]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Rollup merge of #69609 - TimDiekmann:excess, r=Amanieu
authorYuki Okushi <huyuumi.dev@gmail.com>
Tue, 3 Mar 2020 08:50:06 +0000 (17:50 +0900)
committerGitHub <noreply@github.com>
Tue, 3 Mar 2020 08:50:06 +0000 (17:50 +0900)
commit4699b29a04e84746e28ef688f02993c3b4d54951
tree5a0bb1e2dc696937965e4e103524cf8a2cc80bd7
parentdfacdda6494bf55bfd4af07cde1bc42d8a3c32e8
parentd8e3557dbae23283f81d7bc45200413dd93ced4a
Rollup merge of #69609 - TimDiekmann:excess, r=Amanieu

Remove `usable_size` APIs

This removes the usable size APIs:
- remove `usable_size` (obv)
- change return type of allocating methods to include the allocated size
- remove `_excess` API

r? @Amanieu
closes rust-lang/wg-allocators#17
src/liballoc/boxed.rs
src/liballoc/rc.rs
src/liballoc/sync.rs