diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2016-05-16 02:00:19 +0300 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2016-05-16 02:00:19 +0300 |
| commit | 9cd83eb15c5667f5daa9aa026d7204161666972e (patch) | |
| tree | 124277fdc776dfd7e814130406c4b465c9407f23 | |
| parent | 9c745e7febca6e4cd57b91bc6790374868c534f7 (diff) | |
| parent | 10c984a155eda8bada42f4b74528eb5c1a2bc826 (diff) | |
| download | rust-9cd83eb15c5667f5daa9aa026d7204161666972e.tar.gz rust-9cd83eb15c5667f5daa9aa026d7204161666972e.zip | |
Rollup merge of #33605 - tshepang:less-awkward, r=steveklabnik
doc: use less awkward and less confusing language
| -rw-r--r-- | src/libcollections/fmt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/fmt.rs b/src/libcollections/fmt.rs index 5744caff45e..975039adae8 100644 --- a/src/libcollections/fmt.rs +++ b/src/libcollections/fmt.rs @@ -104,8 +104,8 @@ //! octal. //! //! There are various parameters which do require a particular type, however. -//! Namely, the `{:.*}` syntax, which sets the number of numbers after the -//! decimal in floating-point types: +//! An example is the `{:.*}` syntax, which sets the number of decimal places +//! in floating-point types: //! //! ``` //! let formatted_number = format!("{:.*}", 2, 1.234567); |
