Skip to content

Commit 583269d

Browse files
authored
Rollup merge of #77219 - mightyiam:issue_77100, r=jyn514
core::global_allocator docs link to std::alloc::GlobalAlloc Closes #77100
2 parents e6e7ccc + badf4af commit 583269d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/core/src/macros/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1365,6 +1365,8 @@ pub(crate) mod builtin {
13651365
}
13661366

13671367
/// Attribute macro applied to a static to register it as a global allocator.
1368+
///
1369+
/// See also [`std::alloc::GlobalAlloc`](../std/alloc/trait.GlobalAlloc.html).
13681370
#[stable(feature = "global_allocator", since = "1.28.0")]
13691371
#[allow_internal_unstable(rustc_attrs)]
13701372
#[rustc_builtin_macro]

0 commit comments

Comments
 (0)