From e28153e7a60f2ba62aa438e68cf086f07f0d3894 Mon Sep 17 00:00:00 2001 From: lcnr/Bastian Kauschke Date: Sun, 15 Dec 2019 12:59:02 +0100 Subject: [PATCH] fix doc comment --- src/libcore/any.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -> &'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::>(None)` could return the +/// type. For example, `type_name_of::>(None)` could return /// `"Option"` or `"std::option::Option"`, but not /// `"foobar"`. In addition, the output may change between versions of the /// compiler.