Skip to content

Commit

Permalink
Rollup merge of #77219 - mightyiam:issue_77100, r=jyn514
Browse files Browse the repository at this point in the history
core::global_allocator docs link to std::alloc::GlobalAlloc

Closes #77100
  • Loading branch information
Dylan-DPC authored Oct 5, 2020
2 parents e6e7ccc + badf4af commit 583269d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/core/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 583269d

Please sign in to comment.