We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 951f041 commit 2535435Copy full SHA for 2535435
src/liballoc/raw_vec.rs
@@ -52,6 +52,7 @@ impl<T, A: Alloc> RawVec<T, A> {
52
/// Like `new`, but parameterized over the choice of allocator for
53
/// the returned `RawVec`.
54
pub const fn new_in(a: A) -> Self {
55
+ // FIXME(mark-i-m): remove bootstrapping cfgs these after a cycle
56
let cap = {
57
#[cfg(not(bootstrap))]
58
{ if mem::size_of::<T>() == 0 { core::usize::MAX } else { 0 } }
0 commit comments