Clarified the documentation for Formatter::precision
This commit is contained in:
parent
148c125b1b
commit
526dbd3d97
@ -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…
x
Reference in New Issue
Block a user