about summary refs log tree commit diff
path: root/library/alloc/src/macros.rs
diff options
context:
space:
mode:
authorLeSeulArtichaut <leseulartichaut@gmail.com>2020-08-20 23:43:46 +0200
committerLeSeulArtichaut <leseulartichaut@gmail.com>2020-08-21 00:25:25 +0200
commit1ababd87942dd3f62d6abc5fa1833fce2d5b88eb (patch)
tree324feee68a1c6dc5965b5c5d9bdb950c082a0a21 /library/alloc/src/macros.rs
parent443e177c7f0f94fc85b0e13e076b21e9eac60189 (diff)
downloadrust-1ababd87942dd3f62d6abc5fa1833fce2d5b88eb.tar.gz
rust-1ababd87942dd3f62d6abc5fa1833fce2d5b88eb.zip
Use intra-doc-links in `alloc`
Diffstat (limited to 'library/alloc/src/macros.rs')
-rw-r--r--library/alloc/src/macros.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/library/alloc/src/macros.rs b/library/alloc/src/macros.rs
index e163a166b49..2f744618d69 100644
--- a/library/alloc/src/macros.rs
+++ b/library/alloc/src/macros.rs
@@ -29,8 +29,7 @@
 /// to the same boxed integer value, not five references pointing to independently
 /// boxed integers.
 ///
-/// [`Vec`]: ../std/vec/struct.Vec.html
-/// [`Clone`]: ../std/clone/trait.Clone.html
+/// [`Vec`]: crate::vec::Vec
 #[cfg(not(test))]
 #[macro_export]
 #[stable(feature = "rust1", since = "1.0.0")]
@@ -81,11 +80,11 @@ macro_rules! vec {
 /// To convert a single value to a string, use the [`to_string`] method. This
 /// will use the [`Display`] formatting trait.
 ///
-/// [fmt]: ../std/fmt/index.html
+/// [fmt]: core::fmt
 /// [`print!`]: ../std/macro.print.html
-/// [`write!`]: ../std/macro.write.html
-/// [`to_string`]: ../std/string/trait.ToString.html
-/// [`Display`]: ../std/fmt/trait.Display.html
+/// [`write!`]: core::write
+/// [`to_string`]: crate::string::ToString
+/// [`Display`]: core::fmt::Display
 ///
 /// # Panics
 ///