Skip to content

Commit 9bfe49e

Browse files
committed
Add note on how 0 flag overrides fill character
1 parent c493634 commit 9bfe49e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/alloc/src/fmt.rs

+1
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)