about summary refs log tree commit diff
path: root/library/alloc/src/fmt.rs
diff options
context:
space:
mode:
authorMatt Harding <majaharding@gmail.com>2023-11-08 15:41:45 +0000
committerMatt Harding <majaharding@gmail.com>2023-11-09 06:31:50 +0000
commit9bfe49e00a99d6e8c2f140d827717b596677f389 (patch)
tree388774a57c1684f300adaa7ce9b24cc678363068 /library/alloc/src/fmt.rs
parentc4936340644aa3413d54b8e0859dcc84fd577f45 (diff)
downloadrust-9bfe49e00a99d6e8c2f140d827717b596677f389.tar.gz
rust-9bfe49e00a99d6e8c2f140d827717b596677f389.zip
Add note on how 0 flag overrides fill character
Diffstat (limited to 'library/alloc/src/fmt.rs')
-rw-r--r--library/alloc/src/fmt.rs1
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
 //!