From fda03011effa8a42edb1f93e553e279eb6fcc7bf Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Wed, 12 Nov 2025 14:25:37 +0100 Subject: [PATCH] Fix comment about potential niche in FormattingOptions. --- library/core/src/fmt/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/fmt/mod.rs b/library/core/src/fmt/mod.rs index 88f5dbdc6162..e00e48bcfeb7 100644 --- a/library/core/src/fmt/mod.rs +++ b/library/core/src/fmt/mod.rs @@ -303,7 +303,7 @@ pub struct FormattingOptions { /// │ └─ 3: Alignment not set. (default) /// └─ Always zero. /// ``` - // Note: This could use a special niche type with range 0x8000_0000..=0xfdd0ffff. + // Note: This could use a pattern type with range 0x0000_0000..=0x7dd0ffff. // It's unclear if that's useful, though. flags: u32, /// Width if width flag (bit 27) above is set. Otherwise, always 0.