rust/library/alloc
The8472 de91157389 add Box::try_new_zeroed_slice()
Currently there is no API that allows fallible zero-allocation of a Vec.
Vec.try_reserve is not appropriate for this job since it doesn't know
whether it should zero or arbitrary uninitialized memory is fine.

Since Box currently holds most of the zeroing/uninit/slice allocation APIs
it's the best place to add yet another entry into this feature matrix.
2021-08-05 00:23:19 +02:00
..
benches Fix may not to appropriate might not or must not 2021-07-29 01:15:20 -04:00
src add Box::try_new_zeroed_slice() 2021-08-05 00:23:19 +02:00
tests Fix may not to appropriate might not or must not 2021-07-29 01:15:20 -04:00
Cargo.toml rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00