about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-10 08:42:45 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-10 08:42:45 -0800
commit7e378edb39df4c5499fc37103feeeddc8e3e6269 (patch)
treeaf12fb440fe1696ee71b4256c082996ab4787205 /src/libcore
parent0568422a27ce4dd9a7f2b1c71710700be54a1da4 (diff)
parent34afe5e193182a0029abe1ae8258f79f4cd56cd9 (diff)
downloadrust-7e378edb39df4c5499fc37103feeeddc8e3e6269.tar.gz
rust-7e378edb39df4c5499fc37103feeeddc8e3e6269.zip
rollup merge of #22094: alkor/cleanup-show-string
Rename several remaining `Show`s to Debug, `String`s to Display (mostly in comments and docs).
Update reference.md:
 - derive() no longer supports Zero trait
 - derive() now supports Copy trait
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/any.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs
index 40c2d82bf4b..462b6771b4a 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -27,7 +27,7 @@
 //! # Examples
 //!
 //! Consider a situation where we want to log out a value passed to a function.
-//! We know the value we're working on implements Show, but we don't know its
+//! We know the value we're working on implements Debug, but we don't know its
 //! concrete type.  We want to give special treatment to certain types: in this
 //! case printing out the length of String values prior to their value.
 //! We don't know the concrete type of our value at compile time, so we need to