File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 368368//! should always be printed.
369369//! * '-' - Currently not used
370370//! * '#' - This flag is indicates that the "alternate" form of printing should
371- //! be used. By default, this only applies to the integer formatting
372- //! traits and performs like :
373- //! * `x` - precedes the argument with a "0x"
374- //! * `X` - precedes the argument with a "0x"
375- //! * `t` - precedes the argument with a "0b"
376- //! * `o` - precedes the argument with a "0o"
371+ //! be used. For array slices, the alternate form omits the brackets.
372+ //! For the integer formatting traits, the alternate forms are :
373+ //! * `# x` - precedes the argument with a "0x"
374+ //! * `# X` - precedes the argument with a "0x"
375+ //! * `# t` - precedes the argument with a "0b"
376+ //! * `# o` - precedes the argument with a "0o"
377377//! * '0' - This is used to indicate for integer formats that the padding should
378378//! both be done with a `0` character as well as be sign-aware. A format
379379//! like `{:08}` would yield `00000001` for the integer `1`, while the
You can’t perform that action at this time.
0 commit comments