about summary refs log tree commit diff
diff options
context:
space:
mode:
-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>"`.
 ///