Skip to content

Commit

Permalink
Clarified the documentation for Formatter::precision
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucretiel committed May 22, 2020
1 parent 148c125 commit 526dbd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libcore/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down

0 comments on commit 526dbd3

Please sign in to comment.