We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d849403 commit 452bf19Copy full SHA for 452bf19
library/alloc/src/lib.rs
@@ -288,9 +288,3 @@ pub(crate) mod test_helpers {
288
289
use crate::alloc::Global;
290
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