Skip to content

Commit fda0301

Browse files
committed
Fix comment about potential niche in FormattingOptions.
1 parent 9b48431 commit fda0301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/fmt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ pub struct FormattingOptions {
303303
/// │ └─ 3: Alignment not set. (default)
304304
/// └─ Always zero.
305305
/// ```
306-
// Note: This could use a special niche type with range 0x8000_0000..=0xfdd0ffff.
306+
// Note: This could use a pattern type with range 0x0000_0000..=0x7dd0ffff.
307307
// It's unclear if that's useful, though.
308308
flags: u32,
309309
/// Width if width flag (bit 27) above is set. Otherwise, always 0.

0 commit comments

Comments
 (0)