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 770961c commit c2c2055Copy full SHA for c2c2055
library/core/src/alloc/global.rs
@@ -125,7 +125,7 @@ use crate::{cmp, ptr};
125
///
126
/// Generally speaking for this reason one should stick to library features available through
127
/// [`core`], and avoid using [`std`] in a global allocator. A few features from [`std`] are
128
-/// guaranteed to not use the global allocator:
+/// guaranteed to not use `#[global_allocator]` to allocate:
129
130
/// - [`std::thread_local`],
131
/// - [`std::thread::current`],
0 commit comments