fmt.rs: add note about lack of padding support for some types
This commit is contained in:
parent
b301e02f37
commit
733e7eea5c
@ -353,6 +353,10 @@
|
||||
//! * `^` - the argument is center-aligned in `width` columns
|
||||
//! * `>` - the argument is right-aligned in `width` columns
|
||||
//!
|
||||
//! Note that alignment may not be implemented by some types. A good way
|
||||
//! to ensure padding is applied is to format your input, then use this
|
||||
//! resulting string to pad your output.
|
||||
//!
|
||||
//! ## Sign/#/0
|
||||
//!
|
||||
//! These can all be interpreted as flags for a particular formatter.
|
||||
|
Loading…
x
Reference in New Issue
Block a user