File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 366366//! These can all be interpreted as flags for a particular formatter.
367367//!
368368//! * `+` - This is intended for numeric types and indicates that the sign
369- //! should always be printed. Positive signs are never printed by
370- //! default, and the negative sign is only printed by default for the
371- //! `Signed` trait. This flag indicates that the correct sign (`+` or `-`)
372- //! should always be printed.
373- //! * `-` - Currently not used
369+ //! (`+` or `-`) should always be printed. Positive signs are never
370+ //! printed by default. This behavior is controlled by the
371+ //! [`pad_integral`][pad_integral] method.
372+ //! * `-` - Currently not used.
374373//! * `#` - This flag is indicates that the "alternate" form of printing should
375374//! be used. The alternate forms are:
376375//! * `#?` - pretty-print the `Debug` formatting
384383//! same format would yield `-0000001` for the integer `-1`. Notice that
385384//! the negative version has one fewer zero than the positive version.
386385//!
386+ //! [pad_integral]: struct.Formatter.html#method.pad_integral
387+ //!
387388//! ## Width
388389//!
389390//! This is a parameter for the "minimum width" that the format should take up.
You can’t perform that action at this time.
0 commit comments