summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-10-14 02:30:46 +0200
committerGitHub <noreply@github.com>2020-10-14 02:30:46 +0200
commited34f82cbc9d293b63cc67a68e067d5e5a55403f (patch)
treef7511eaf3938ac339aeccdcbc31988160c7a561a /library/alloc/src
parent31799bade5116eaba9da6acbbbbfd5bd2fe04275 (diff)
parent95221b4eb5b62e3c309b1ccb0fc45de51bb5e8ce (diff)
downloadrust-ed34f82cbc9d293b63cc67a68e067d5e5a55403f.tar.gz
rust-ed34f82cbc9d293b63cc67a68e067d5e5a55403f.zip
Rollup merge of #77870 - camelid:intra-doc-super, r=jyn514
Use intra-doc links for links to module-level docs

r? @jyn514
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/alloc.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/alloc/src/alloc.rs b/library/alloc/src/alloc.rs
index 4646d4a8335..109c3a0e683 100644
--- a/library/alloc/src/alloc.rs
+++ b/library/alloc/src/alloc.rs
@@ -14,9 +14,9 @@ mod tests;
 
 extern "Rust" {
     // These are the magic symbols to call the global allocator.  rustc generates
-    // them to call `__rg_alloc` etc if there is a `#[global_allocator]` attribute
+    // them to call `__rg_alloc` etc. if there is a `#[global_allocator]` attribute
     // (the code expanding that attribute macro generates those functions), or to call
-    // the default implementations in libstd (`__rdl_alloc` etc in `src/libstd/alloc.rs`)
+    // the default implementations in libstd (`__rdl_alloc` etc. in `library/std/src/alloc.rs`)
     // otherwise.
     #[rustc_allocator]
     #[rustc_allocator_nounwind]
@@ -36,7 +36,7 @@ extern "Rust" {
 /// if there is one, or the `std` crate’s default.
 ///
 /// Note: while this type is unstable, the functionality it provides can be
-/// accessed through the [free functions in `alloc`](index.html#functions).
+/// accessed through the [free functions in `alloc`](self#functions).
 #[unstable(feature = "allocator_api", issue = "32838")]
 #[derive(Copy, Clone, Default, Debug)]
 pub struct Global;