about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeonids Maslovs <leonids.maslovs@galeoconsulting.com>2015-03-01 14:11:12 +0200
committerLeonids Maslovs <leonids.maslovs@galeoconsulting.com>2015-03-01 14:11:12 +0200
commitc04c9632f6239c223485e3c2c5a580f0d2f909e7 (patch)
tree638a16f7d7ba55520b9db2a893e7adb9cdbdf656
parent0eb0ba38d0893f711e68321d3e6fe28a929cd00e (diff)
downloadrust-c04c9632f6239c223485e3c2c5a580f0d2f909e7.tar.gz
rust-c04c9632f6239c223485e3c2c5a580f0d2f909e7.zip
Addresses rust-lang/rust#22646
Removes deprecated `{:08d}` format from the module documentation.
`{:08}` should be used instead now.
-rw-r--r--src/libcollections/fmt.rs2
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.
 //!