Skip to content

Commit dcec48d

Browse files
authored
Rollup merge of rust-lang#36535 - GuillaumeGomez:macro_url, r=steveklabnik
Update to new macro url syntax r? @steveklabnik
2 parents f6497ea + f6ab636 commit dcec48d

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
@@ -794,7 +794,7 @@ pub trait UpperExp {
794794
/// assert_eq!(output, "Hello world!");
795795
/// ```
796796
///
797-
/// Please note that using [`write!`][write_macro] might be preferrable. Example:
797+
/// Please note that using [`write!`] might be preferrable. Example:
798798
///
799799
/// ```
800800
/// use std::fmt::Write;
@@ -805,7 +805,7 @@ pub trait UpperExp {
805805
/// assert_eq!(output, "Hello world!");
806806
/// ```
807807
///
808-
/// [write_macro]: ../../std/macro.write!.html
808+
/// [`write!`]: ../../std/macro.write.html
809809
#[stable(feature = "rust1", since = "1.0.0")]
810810
pub fn write(output: &mut Write, args: Arguments) -> Result {
811811
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)