Skip to content

Commit 2535435

Browse files
committed
add fixme
1 parent 951f041 commit 2535435

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/liballoc/raw_vec.rs

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ impl<T, A: Alloc> RawVec<T, A> {
5252
/// Like `new`, but parameterized over the choice of allocator for
5353
/// the returned `RawVec`.
5454
pub const fn new_in(a: A) -> Self {
55+
// FIXME(mark-i-m): remove bootstrapping cfgs these after a cycle
5556
let cap = {
5657
#[cfg(not(bootstrap))]
5758
{ if mem::size_of::<T>() == 0 { core::usize::MAX } else { 0 } }

0 commit comments

Comments
 (0)