summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-10-12 13:42:49 -0700
committerCamelid <camelidcamel@gmail.com>2020-10-12 19:22:47 -0700
commit95221b4eb5b62e3c309b1ccb0fc45de51bb5e8ce (patch)
tree7da0f4e256849565745547e836ba917dc069e616 /library/alloc/src
parentf3ab6f05846951bed41d4b0661ac0735aebf3687 (diff)
downloadrust-95221b4eb5b62e3c309b1ccb0fc45de51bb5e8ce.tar.gz
rust-95221b4eb5b62e3c309b1ccb0fc45de51bb5e8ce.zip
Use intra-doc links for links to module-level docs
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;