Skip to content

Commit

Permalink
core::global_allocator docs link to std::alloc::GlobalAlloc
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Sep 29, 2020
1 parent 48cab67 commit badf4af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/core/src/macros/mod.rs
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 badf4af

Please sign in to comment.