@@ -102,7 +102,7 @@ pub struct Error;
102102/// library. The [`write!`] macro accepts an instance of [`io::Write`], and the
103103/// [`io::Write`] trait is favored over implementing this trait.
104104///
105- /// [`write!`]: ../../std/macro. write.html
105+ /// [`write!`]: crate:: write!
106106/// [`io::Write`]: ../../std/io/trait.Write.html
107107#[ stable( feature = "rust1" , since = "1.0.0" ) ]
108108pub trait Write {
@@ -1058,7 +1058,7 @@ pub trait UpperExp {
10581058/// assert_eq!(output, "Hello world!");
10591059/// ```
10601060///
1061- /// [`write!`]: ../../std/macro. write.html
1061+ /// [`write!`]: crate:: write!
10621062#[ stable( feature = "rust1" , since = "1.0.0" ) ]
10631063pub fn write ( output : & mut dyn Write , args : Arguments < ' _ > ) -> Result {
10641064 let mut formatter = Formatter {
@@ -1886,7 +1886,7 @@ impl<'a> Formatter<'a> {
18861886 /// assert_eq!(format!("{:?}", Foo(vec![10, 11])), "{10, 11}");
18871887 /// ```
18881888 ///
1889- /// [`format_args!`]: ../../std/macro. format_args.html
1889+ /// [`format_args!`]: crate:: format_args
18901890 ///
18911891 /// In this more complex example, we use [`format_args!`] and `.debug_set()`
18921892 /// to build a list of match arms:
0 commit comments