Skip to content

Commit

Permalink
Rollup merge of rust-lang#67317 - lcnr:type_name_docs, r=jonas-schievink
Browse files Browse the repository at this point in the history
fix type_name_of_val doc comment

.
  • Loading branch information
Centril authored Dec 16, 2019
2 parents 6b9bb74 + e28153e commit d182397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d182397

Please sign in to comment.