diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-02 13:38:57 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-03 01:46:29 +0530 |
| commit | 718b591f33ab23adb0beca8fffceeb9b89a603e2 (patch) | |
| tree | 4e21c6d38867b21f25421a3e55df8aa4d82c834b /src | |
| parent | 16efd0ecbfd1b8ecad6c2fce8211bbefa0e1f562 (diff) | |
| parent | c04c9632f6239c223485e3c2c5a580f0d2f909e7 (diff) | |
| download | rust-718b591f33ab23adb0beca8fffceeb9b89a603e2.tar.gz rust-718b591f33ab23adb0beca8fffceeb9b89a603e2.zip | |
Rollup merge of #22925 - leonardinius:issue-22646-fmt, r=steveklabnik
Addresses rust-lang/rust#22646
Removes deprecated `{:08d}` format from the module documentation.
`{:08}` should be used instead now.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcollections/fmt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/fmt.rs b/src/libcollections/fmt.rs index 98673af3c68..5a20ba4b49f 100644 --- a/src/libcollections/fmt.rs +++ b/src/libcollections/fmt.rs @@ -364,7 +364,7 @@ //! * `o` - precedes the argument with a "0o" //! * '0' - This is used to indicate for integer formats that the padding should //! both be done with a `0` character as well as be sign-aware. A format -//! like `{:08d}` would yield `00000001` for the integer `1`, while the +//! like `{:08}` would yield `00000001` for the integer `1`, while the //! same format would yield `-0000001` for the integer `-1`. Notice that //! the negative version has one fewer zero than the positive version. //! |
