Skip to content

Commit f6ab636

Browse files
Update to new macro url syntax
1 parent 8394685 commit f6ab636

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/libcore/fmt/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ pub trait UpperExp {
792792
/// assert_eq!(output, "Hello world!");
793793
/// ```
794794
///
795-
/// Please note that using [`write!`][write_macro] might be preferrable. Example:
795+
/// Please note that using [`write!`] might be preferrable. Example:
796796
///
797797
/// ```
798798
/// use std::fmt::Write;
@@ -803,7 +803,7 @@ pub trait UpperExp {
803803
/// assert_eq!(output, "Hello world!");
804804
/// ```
805805
///
806-
/// [write_macro]: ../../std/macro.write!.html
806+
/// [`write!`]: ../../std/macro.write.html
807807
#[stable(feature = "rust1", since = "1.0.0")]
808808
pub fn write(output: &mut Write, args: Arguments) -> Result {
809809
let mut formatter = Formatter {

src/libstd/thread/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
//!
152152
//! [`Cell`]: ../cell/struct.Cell.html
153153
//! [`RefCell`]: ../cell/struct.RefCell.html
154-
//! [`thread_local!`]: ../macro.thread_local!.html
154+
//! [`thread_local!`]: ../macro.thread_local.html
155155
//! [`with`]: struct.LocalKey.html#method.with
156156
157157
#![stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)