about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-03-19 07:37:59 +0100
committerGitHub <noreply@github.com>2018-03-19 07:37:59 +0100
commit741d7a5598739f864f0f842d21665fa1e5809b41 (patch)
tree59a2f93c357f6fbffd55fd8e9a20fabd786e54c1
parent152217d29cc842d9a7577e9361f5960f87dcdf5c (diff)
downloadrust-741d7a5598739f864f0f842d21665fa1e5809b41.tar.gz
rust-741d7a5598739f864f0f842d21665fa1e5809b41.zip
Docs: fix incorrect copy-paste for new `X?` in formatting strings
-rw-r--r--src/liballoc/fmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/fmt.rs b/src/liballoc/fmt.rs
index 2c4cdef03b0..90043e1c716 100644
--- a/src/liballoc/fmt.rs
+++ b/src/liballoc/fmt.rs
@@ -114,7 +114,7 @@
 //! * *nothing* ⇒ [`Display`]
 //! * `?` ⇒ [`Debug`]
 //! * `x?` ⇒ [`Debug`] with lower-case hexadecimal integers
-//! * `X?` ⇒ [`Debug`] with lower-case hexadecimal integers
+//! * `X?` ⇒ [`Debug`] with upper-case hexadecimal integers
 //! * `o` ⇒ [`Octal`](trait.Octal.html)
 //! * `x` ⇒ [`LowerHex`](trait.LowerHex.html)
 //! * `X` ⇒ [`UpperHex`](trait.UpperHex.html)