Clarified the documentation for Formatter::precision
This commit is contained in:
parent
148c125b1b
commit
526dbd3d97
1 changed files with 2 additions and 1 deletions
|
|
@ -1611,7 +1611,8 @@ impl<'a> Formatter<'a> {
|
|||
self.width
|
||||
}
|
||||
|
||||
/// Optionally specified precision for numeric types.
|
||||
/// Optionally specified precision for numeric types. Alternatively, the
|
||||
/// maximum width for string types.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue