about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurence Tratt <laurie@tratt.net>2020-05-04 14:28:58 +0100
committerLaurence Tratt <laurie@tratt.net>2020-05-04 14:28:58 +0100
commit876001c8ac331a15661638fbb18b8b64facf2c96 (patch)
treee1ce43e23359333574110063b34c19f1e10a603d
parent93f877ce870e9fd13ad7c6a05ccb4abd46a3d106 (diff)
downloadrust-876001c8ac331a15661638fbb18b8b64facf2c96.tar.gz
rust-876001c8ac331a15661638fbb18b8b64facf2c96.zip
Fix typo.
-rw-r--r--src/libcore/any.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs
index 2628f890332..996a9cdfc4d 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -446,8 +446,8 @@ impl TypeId {
 /// # Note
 ///
 /// This is intended for diagnostic use. The exact contents and format of the
-/// string retrned are not specified, other than being a best-effort description
-/// of the type. For example, amongst the strings
+/// string returned are not specified, other than being a best-effort
+/// description of the type. For example, amongst the strings
 /// that `type_name::<Option<String>>()` might map to are `"Option<String>"` and
 /// `"std::option::Option<std::string::String>"`.
 ///