fmt.rs: add note about lack of padding support for some types

This commit is contained in:
Parker Moore 2015-05-19 19:21:52 +07:00
parent b301e02f37
commit 733e7eea5c

View File

@ -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.