@@ -102,7 +102,7 @@ pub struct Error;
102
102
/// library. The [`write!`] macro accepts an instance of [`io::Write`], and the
103
103
/// [`io::Write`] trait is favored over implementing this trait.
104
104
///
105
- /// [`write!`]: ../../std/macro. write.html
105
+ /// [`write!`]: crate:: write!
106
106
/// [`io::Write`]: ../../std/io/trait.Write.html
107
107
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
108
108
pub trait Write {
@@ -1058,7 +1058,7 @@ pub trait UpperExp {
1058
1058
/// assert_eq!(output, "Hello world!");
1059
1059
/// ```
1060
1060
///
1061
- /// [`write!`]: ../../std/macro. write.html
1061
+ /// [`write!`]: crate:: write!
1062
1062
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1063
1063
pub fn write ( output : & mut dyn Write , args : Arguments < ' _ > ) -> Result {
1064
1064
let mut formatter = Formatter {
@@ -1886,7 +1886,7 @@ impl<'a> Formatter<'a> {
1886
1886
/// assert_eq!(format!("{:?}", Foo(vec![10, 11])), "{10, 11}");
1887
1887
/// ```
1888
1888
///
1889
- /// [`format_args!`]: ../../std/macro. format_args.html
1889
+ /// [`format_args!`]: crate:: format_args
1890
1890
///
1891
1891
/// In this more complex example, we use [`format_args!`] and `.debug_set()`
1892
1892
/// to build a list of match arms:
0 commit comments