diff options
| author | Matt Harding <majaharding@gmail.com> | 2023-11-08 15:41:45 +0000 |
|---|---|---|
| committer | Matt Harding <majaharding@gmail.com> | 2023-11-09 06:31:50 +0000 |
| commit | 9bfe49e00a99d6e8c2f140d827717b596677f389 (patch) | |
| tree | 388774a57c1684f300adaa7ce9b24cc678363068 | |
| parent | c4936340644aa3413d54b8e0859dcc84fd577f45 (diff) | |
| download | rust-9bfe49e00a99d6e8c2f140d827717b596677f389.tar.gz rust-9bfe49e00a99d6e8c2f140d827717b596677f389.zip | |
Add note on how 0 flag overrides fill character
| -rw-r--r-- | library/alloc/src/fmt.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/fmt.rs b/library/alloc/src/fmt.rs index 6f96a271442..3697ee3d350 100644 --- a/library/alloc/src/fmt.rs +++ b/library/alloc/src/fmt.rs @@ -201,6 +201,7 @@ //! and before the digits. When used together with the `#` flag, a similar //! rule applies: padding zeros are inserted after the prefix but before //! the digits. The prefix is included in the total width. +//! This flag overrides the [fill character and alignment flag](#fillalignment). //! //! ## Precision //! |
