about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-09-16 17:50:34 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2016-09-16 17:59:24 +0200
commitf6ab636b86c2a1acefc8b9211d8fa07195efb8a5 (patch)
tree83f85cfb100e6872a8cfb426c69bbd02977ebec3 /src/libcore
parent8394685b8385156fc4bc31cfbc693867e276d9d7 (diff)
downloadrust-f6ab636b86c2a1acefc8b9211d8fa07195efb8a5.tar.gz
rust-f6ab636b86c2a1acefc8b9211d8fa07195efb8a5.zip
Update to new macro url syntax
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/fmt/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs
index 66ef92928eb..ab07aa4b0c1 100644
--- a/src/libcore/fmt/mod.rs
+++ b/src/libcore/fmt/mod.rs
@@ -792,7 +792,7 @@ pub trait UpperExp {
 /// assert_eq!(output, "Hello world!");
 /// ```
 ///
-/// Please note that using [`write!`][write_macro] might be preferrable. Example:
+/// Please note that using [`write!`] might be preferrable. Example:
 ///
 /// ```
 /// use std::fmt::Write;
@@ -803,7 +803,7 @@ pub trait UpperExp {
 /// assert_eq!(output, "Hello world!");
 /// ```
 ///
-/// [write_macro]: ../../std/macro.write!.html
+/// [`write!`]: ../../std/macro.write.html
 #[stable(feature = "rust1", since = "1.0.0")]
 pub fn write(output: &mut Write, args: Arguments) -> Result {
     let mut formatter = Formatter {