mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-24 14:34:23 +00:00
Add missing links in fmt module
This commit is contained in:
parent
cd93969ec4
commit
d5d41f2a3c
@ -488,13 +488,14 @@ impl<'a> Display for Arguments<'a> {
|
|||||||
/// The origin is: Point { x: 0, y: 0 }
|
/// The origin is: Point { x: 0, y: 0 }
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// There are a number of `debug_*` methods on `Formatter` to help you with manual
|
/// There are a number of `debug_*` methods on [`Formatter`] to help you with manual
|
||||||
/// implementations, such as [`debug_struct`][debug_struct].
|
/// implementations, such as [`debug_struct`][debug_struct].
|
||||||
///
|
///
|
||||||
/// `Debug` implementations using either `derive` or the debug builder API
|
/// `Debug` implementations using either `derive` or the debug builder API
|
||||||
/// on `Formatter` support pretty printing using the alternate flag: `{:#?}`.
|
/// on [`Formatter`] support pretty printing using the alternate flag: `{:#?}`.
|
||||||
///
|
///
|
||||||
/// [debug_struct]: ../../std/fmt/struct.Formatter.html#method.debug_struct
|
/// [debug_struct]: ../../std/fmt/struct.Formatter.html#method.debug_struct
|
||||||
|
/// [`Formatter`]: ../../std/fmt/struct.Formatter.html
|
||||||
///
|
///
|
||||||
/// Pretty printing with `#?`:
|
/// Pretty printing with `#?`:
|
||||||
///
|
///
|
||||||
@ -1321,8 +1322,11 @@ impl<'a> Formatter<'a> {
|
|||||||
self.flags & (1 << FlagV1::SignAwareZeroPad as u32) != 0
|
self.flags & (1 << FlagV1::SignAwareZeroPad as u32) != 0
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a `DebugStruct` builder designed to assist with creation of
|
/// Creates a [`DebugStruct`] builder designed to assist with creation of
|
||||||
/// `fmt::Debug` implementations for structs.
|
/// [`fmt::Debug`] implementations for structs.
|
||||||
|
///
|
||||||
|
/// [`DebugStruct`]: ../../std/fmt/struct.DebugStruct.html
|
||||||
|
/// [`fmt::Debug`]: ../../std/fmt/trait.Debug.html
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user