diff options
| author | Nathan West <Lucretiel@gmail.com> | 2020-05-21 23:45:43 -0400 |
|---|---|---|
| committer | Nathan West <Lucretiel@gmail.com> | 2020-05-21 23:45:43 -0400 |
| commit | 526dbd3d9718bf55a4d900bb68a9abff2be7019a (patch) | |
| tree | f4cb0552688f118f3c7c8c82813b513a73a035a9 | |
| parent | 148c125b1bf20674e8d0c55c21b3433a6d465b07 (diff) | |
| download | rust-526dbd3d9718bf55a4d900bb68a9abff2be7019a.tar.gz rust-526dbd3d9718bf55a4d900bb68a9abff2be7019a.zip | |
Clarified the documentation for Formatter::precision
| -rw-r--r-- | src/libcore/fmt/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs index 95411b525d0..7a8db024d4a 100644 --- a/src/libcore/fmt/mod.rs +++ b/src/libcore/fmt/mod.rs @@ -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 /// |
