Clarified the documentation for Formatter::precision

This commit is contained in:
Nathan West 2020-05-21 23:45:43 -04:00
parent 148c125b1b
commit 526dbd3d97

View File

@ -1611,7 +1611,8 @@ impl<'a> Formatter<'a> {
self.width self.width
} }
/// Optionally specified precision for numeric types. /// Optionally specified precision for numeric types. Alternatively, the
/// maximum width for string types.
/// ///
/// # Examples /// # Examples
/// ///