Skip to content

Commit 526dbd3

Browse files
committed
Clarified the documentation for Formatter::precision
1 parent 148c125 commit 526dbd3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/libcore/fmt/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,8 @@ impl<'a> Formatter<'a> {
16111611
self.width
16121612
}
16131613

1614-
/// Optionally specified precision for numeric types.
1614+
/// Optionally specified precision for numeric types. Alternatively, the
1615+
/// maximum width for string types.
16151616
///
16161617
/// # Examples
16171618
///

0 commit comments

Comments
 (0)