@@ -456,7 +456,9 @@ impl Display for Arguments<'_> {
456456///
457457/// When used with the alternate format specifier `#?`, the output is pretty-printed.
458458///
459- /// For more information on formatters, see [the module-level documentation][self].
459+ /// For more information on formatters, see [the module-level documentation][module].
460+ ///
461+ /// [module]: ../../std/fmt/index.html
460462///
461463/// This trait can be used with `#[derive]` if all fields implement `Debug`. When
462464/// `derive`d for structs, it will use the name of the `struct`, then `{`, then a
@@ -602,7 +604,9 @@ pub use macros::Debug;
602604/// `Display` is similar to [`Debug`], but `Display` is for user-facing
603605/// output, and so cannot be derived.
604606///
605- /// For more information on formatters, see [the module-level documentation][self].
607+ /// For more information on formatters, see [the module-level documentation][module].
608+ ///
609+ /// [module]: ../../std/fmt/index.html
606610///
607611/// # Examples
608612///
@@ -674,7 +678,9 @@ pub trait Display {
674678///
675679/// The alternate flag, `#`, adds a `0o` in front of the output.
676680///
677- /// For more information on formatters, see [the module-level documentation][self].
681+ /// For more information on formatters, see [the module-level documentation][module].
682+ ///
683+ /// [module]: ../../std/fmt/index.html
678684///
679685/// # Examples
680686///
@@ -726,7 +732,9 @@ pub trait Octal {
726732///
727733/// The alternate flag, `#`, adds a `0b` in front of the output.
728734///
729- /// For more information on formatters, see [the module-level documentation][self].
735+ /// For more information on formatters, see [the module-level documentation][module].
736+ ///
737+ /// [module]: ../../std/fmt/index.html
730738///
731739/// # Examples
732740///
@@ -782,7 +790,9 @@ pub trait Binary {
782790///
783791/// The alternate flag, `#`, adds a `0x` in front of the output.
784792///
785- /// For more information on formatters, see [the module-level documentation][self].
793+ /// For more information on formatters, see [the module-level documentation][module].
794+ ///
795+ /// [module]: ../../std/fmt/index.html
786796///
787797/// # Examples
788798///
@@ -835,7 +845,9 @@ pub trait LowerHex {
835845///
836846/// The alternate flag, `#`, adds a `0x` in front of the output.
837847///
838- /// For more information on formatters, see [the module-level documentation][self].
848+ /// For more information on formatters, see [the module-level documentation][module].
849+ ///
850+ /// [module]: ../../std/fmt/index.html
839851///
840852/// # Examples
841853///
@@ -883,7 +895,9 @@ pub trait UpperHex {
883895/// The `Pointer` trait should format its output as a memory location. This is commonly presented
884896/// as hexadecimal.
885897///
886- /// For more information on formatters, see [the module-level documentation][self].
898+ /// For more information on formatters, see [the module-level documentation][module].
899+ ///
900+ /// [module]: ../../std/fmt/index.html
887901///
888902/// # Examples
889903///
@@ -932,7 +946,9 @@ pub trait Pointer {
932946///
933947/// The `LowerExp` trait should format its output in scientific notation with a lower-case `e`.
934948///
935- /// For more information on formatters, see [the module-level documentation][self].
949+ /// For more information on formatters, see [the module-level documentation][module].
950+ ///
951+ /// [module]: ../../std/fmt/index.html
936952///
937953/// # Examples
938954///
@@ -981,7 +997,9 @@ pub trait LowerExp {
981997///
982998/// The `UpperExp` trait should format its output in scientific notation with an upper-case `E`.
983999///
984- /// For more information on formatters, see [the module-level documentation][self].
1000+ /// For more information on formatters, see [the module-level documentation][module].
1001+ ///
1002+ /// [module]: ../../std/fmt/index.html
9851003///
9861004/// # Examples
9871005///
0 commit comments