about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-03-20 07:15:30 +0800
committerkennytm <kennytm@gmail.com>2018-03-20 11:39:44 +0800
commit7fc81fa781f38734687548c274b3f5474914346d (patch)
tree8ec3e39a94b29fb58260770fc0906a10b265c75c /src/liballoc
parentcfb531748f0ffa08661f29ba92fc22ff24e764da (diff)
parent741d7a5598739f864f0f842d21665fa1e5809b41 (diff)
downloadrust-7fc81fa781f38734687548c274b3f5474914346d.tar.gz
rust-7fc81fa781f38734687548c274b3f5474914346d.zip
Rollup merge of #49161 - rust-lang:SimonSapin-patch-1, r=KodrAus
Docs: fix incorrect copy-paste for new `X?` in formatting strings
Diffstat (limited to 'src/liballoc')
-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)