Rollup merge of #77219 - mightyiam:issue_77100, r=jyn514
core::global_allocator docs link to std::alloc::GlobalAlloc Closes #77100
This commit is contained in:
commit
583269d8c5
|
@ -1365,6 +1365,8 @@ pub(crate) mod builtin {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Attribute macro applied to a static to register it as a global allocator.
|
/// Attribute macro applied to a static to register it as a global allocator.
|
||||||
|
///
|
||||||
|
/// See also [`std::alloc::GlobalAlloc`](../std/alloc/trait.GlobalAlloc.html).
|
||||||
#[stable(feature = "global_allocator", since = "1.28.0")]
|
#[stable(feature = "global_allocator", since = "1.28.0")]
|
||||||
#[allow_internal_unstable(rustc_attrs)]
|
#[allow_internal_unstable(rustc_attrs)]
|
||||||
#[rustc_builtin_macro]
|
#[rustc_builtin_macro]
|
||||||
|
|
Loading…
Reference in New Issue