diff options
| author | lcnr/Bastian Kauschke <bastian_kauschke@hotmail.de> | 2019-12-15 12:59:02 +0100 |
|---|---|---|
| committer | lcnr/Bastian Kauschke <bastian_kauschke@hotmail.de> | 2019-12-15 12:59:02 +0100 |
| commit | e28153e7a60f2ba62aa438e68cf086f07f0d3894 (patch) | |
| tree | 4943fd918dfc9a8854afc609fc2b2dae26d317f6 /src/libcore/any.rs | |
| parent | a605441e049f0b6d5f7715b94b8ac4662fd7fcf6 (diff) | |
| download | rust-e28153e7a60f2ba62aa438e68cf086f07f0d3894.tar.gz rust-e28153e7a60f2ba62aa438e68cf086f07f0d3894.zip | |
fix doc comment
Diffstat (limited to 'src/libcore/any.rs')
| -rw-r--r-- | src/libcore/any.rs | 2 |
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. |
