diff options
| author | Laurence Tratt <laurie@tratt.net> | 2020-05-12 16:54:29 +0100 |
|---|---|---|
| committer | Laurence Tratt <laurie@tratt.net> | 2020-05-12 16:54:29 +0100 |
| commit | 003ed802c4a289d959d4212ad80f33df7f3e2bc3 (patch) | |
| tree | b0a2cdf4782c0884f8069325c8017c92a766b44a | |
| parent | 876001c8ac331a15661638fbb18b8b64facf2c96 (diff) | |
| download | rust-003ed802c4a289d959d4212ad80f33df7f3e2bc3.tar.gz rust-003ed802c4a289d959d4212ad80f33df7f3e2bc3.zip | |
Map to -> return.
| -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 996a9cdfc4d..79b6304958d 100644 --- a/src/libcore/any.rs +++ b/src/libcore/any.rs @@ -448,7 +448,7 @@ impl TypeId { /// This is intended for diagnostic use. The exact contents and format of the /// string returned are not specified, other than being a best-effort /// description of the type. For example, amongst the strings -/// that `type_name::<Option<String>>()` might map to are `"Option<String>"` and +/// that `type_name::<Option<String>>()` might return are `"Option<String>"` and /// `"std::option::Option<std::string::String>"`. /// /// The returned string must not be considered to be a unique identifier of a |
