]> git.lizzy.rs Git - rust.git/commit
Make RawVec private to alloc
authorThe8472 <git@infinite-source.de>
Wed, 3 Nov 2021 19:47:00 +0000 (20:47 +0100)
committerThe8472 <git@infinite-source.de>
Wed, 3 Nov 2021 19:52:16 +0000 (20:52 +0100)
commit7afe6f52e4448d7523877f652e567542f02b974e
tree80892813062388fffeab0804465632919d7a13b7
parent7734cb80782e65875994ee4709b7752623ea9ed2
Make RawVec private to alloc

RawVec was previously exposed for compiler-internal use (libarena specifically) in 1acbb0a9350560d951359cc359361b87992a6f2b

Since it is unstable, doc-hidden and has no associated tracking issue it was never meant for public use. And since
it is no longer used outside alloc itself it can be made private again.

Also remove some functions that are dead due to lack of internal users.
library/alloc/src/lib.rs
library/alloc/src/raw_vec.rs