Skip to content

Commit 2b5c1e9

Browse files
committed
Add note on how 0 flag overrides fill character
1 parent aa5a4e8 commit 2b5c1e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alloc/src/fmt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@
201201
//! and before the digits. When used together with the `#` flag, a similar
202202
//! rule applies: padding zeros are inserted after the prefix but before
203203
//! the digits. The prefix is included in the total width.
204+
//! This flag overrides the [fill character and alignment flag](#fillalignment).
204205
//!
205206
//! ## Precision
206207
//!

0 commit comments

Comments
 (0)