1
Fork 0

Add link to Formatting traits from alternate forms

This commit is contained in:
Matt Harding 2023-11-08 14:56:35 +00:00
parent ec2b311914
commit c493634064

View file

@ -188,6 +188,10 @@
//! * `#X` - precedes the argument with a `0x` //! * `#X` - precedes the argument with a `0x`
//! * `#b` - precedes the argument with a `0b` //! * `#b` - precedes the argument with a `0b`
//! * `#o` - precedes the argument with a `0o` //! * `#o` - precedes the argument with a `0o`
//!
//! See [Formatting traits](#formatting-traits) for a description of what the `?`, `x`, `X`,
//! `b`, and `o` flags do.
//!
//! * `0` - This is used to indicate for integer formats that the padding to `width` should //! * `0` - This is used to indicate for integer formats that the padding to `width` should
//! both be done with a `0` character as well as be sign-aware. A format //! both be done with a `0` character as well as be sign-aware. A format
//! like `{:08}` would yield `00000001` for the integer `1`, while the //! like `{:08}` would yield `00000001` for the integer `1`, while the