diff options
| author | Mark Mansi <markm@cs.wisc.edu> | 2019-11-26 11:06:53 -0600 |
|---|---|---|
| committer | Mark Mansi <markm@cs.wisc.edu> | 2019-12-18 20:19:05 -0600 |
| commit | 253543560aa10f90607b23b5b12be3cfe28fdb1b (patch) | |
| tree | 18bceb24141c5300eaf3e81177f864695807f350 /src/liballoc | |
| parent | 951f041347529e504b132640d829914a0f7ef7c6 (diff) | |
add fixme
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/raw_vec.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/raw_vec.rs b/src/liballoc/raw_vec.rs index dff8364b847..96de5185b88 100644 --- a/src/liballoc/raw_vec.rs +++ b/src/liballoc/raw_vec.rs @@ -52,6 +52,7 @@ impl<T, A: Alloc> RawVec<T, A> { /// Like `new`, but parameterized over the choice of allocator for /// the returned `RawVec`. pub const fn new_in(a: A) -> Self { + // FIXME(mark-i-m): remove bootstrapping cfgs these after a cycle let cap = { #[cfg(not(bootstrap))] { if mem::size_of::<T>() == 0 { core::usize::MAX } else { 0 } } |
