From 9bfe49e00a99d6e8c2f140d827717b596677f389 Mon Sep 17 00:00:00 2001 From: Matt Harding Date: Wed, 8 Nov 2023 15:41:45 +0000 Subject: [PATCH] Add note on how 0 flag overrides fill character --- library/alloc/src/fmt.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/alloc/src/fmt.rs b/library/alloc/src/fmt.rs index 6f96a271442c..3697ee3d3509 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 //!