about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorlcnr/Bastian Kauschke <bastian_kauschke@hotmail.de>2019-12-15 12:59:02 +0100
committerlcnr/Bastian Kauschke <bastian_kauschke@hotmail.de>2019-12-15 12:59:02 +0100
commite28153e7a60f2ba62aa438e68cf086f07f0d3894 (patch)
tree4943fd918dfc9a8854afc609fc2b2dae26d317f6 /src
parenta605441e049f0b6d5f7715b94b8ac4662fd7fcf6 (diff)
downloadrust-e28153e7a60f2ba62aa438e68cf086f07f0d3894.tar.gz
rust-e28153e7a60f2ba62aa438e68cf086f07f0d3894.zip
fix doc comment
Diffstat (limited to 'src')
-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 b0e3021e0bf..7935c9b1b39 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -476,7 +476,7 @@ pub const fn type_name<T: ?Sized>() -> &'static str {
 ///
 /// This is intended for diagnostic use. The exact contents and format of the
 /// string are not specified, other than being a best-effort description of the
-/// type. For example, `type_name_of::<Option<String>>(None)` could return the
+/// type. For example, `type_name_of::<Option<String>>(None)` could return
 /// `"Option<String>"` or `"std::option::Option<std::string::String>"`, but not
 /// `"foobar"`. In addition, the output may change between versions of the
 /// compiler.