We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a605441 commit e28153eCopy full SHA for e28153e
src/libcore/any.rs
@@ -476,7 +476,7 @@ pub const fn type_name<T: ?Sized>() -> &'static str {
476
///
477
/// This is intended for diagnostic use. The exact contents and format of the
478
/// string are not specified, other than being a best-effort description of the
479
-/// type. For example, `type_name_of::<Option<String>>(None)` could return the
+/// type. For example, `type_name_of::<Option<String>>(None)` could return
480
/// `"Option<String>"` or `"std::option::Option<std::string::String>"`, but not
481
/// `"foobar"`. In addition, the output may change between versions of the
482
/// compiler.
0 commit comments