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:
Dylan DPC 2020-10-05 02:29:29 +02:00 committed by GitHub
commit 583269d8c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1365,6 +1365,8 @@ pub(crate) mod builtin {
}
/// 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")]
#[allow_internal_unstable(rustc_attrs)]
#[rustc_builtin_macro]