Skip to content

Commit 452bf19

Browse files
CoAlloc: minor cleanup
1 parent d849403 commit 452bf19

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

library/alloc/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,3 @@ pub(crate) mod test_helpers {
288288

289289
use crate::alloc::Global;
290290

291-
/// See also `core::alloc::co_alloc_metadata_num_slots_with_preference`.
292-
#[unstable(feature = "global_co_alloc", issue = "none")]
293-
pub const fn co_alloc_metadata_num_slots_with_preference_global(coop_preferred: bool) -> usize {
294-
// FIXME or replace any calls with core::alloc::co_alloc_metadata_num_slots_with_preference::<Global>(COOP_PREFERRED). See raw_vec.rs.
295-
if /*Global::IS_CO_ALLOCATOR*/ true && coop_preferred { 1 } else { 0 }
296-
}

0 commit comments

Comments
 (0)