Skip to content

Commit 003ed80

Browse files
committedMay 12, 2020
Map to -> return.
1 parent 876001c commit 003ed80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/libcore/any.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ impl TypeId {
448448
/// This is intended for diagnostic use. The exact contents and format of the
449449
/// string returned are not specified, other than being a best-effort
450450
/// description of the type. For example, amongst the strings
451-
/// that `type_name::<Option<String>>()` might map to are `"Option<String>"` and
451+
/// that `type_name::<Option<String>>()` might return are `"Option<String>"` and
452452
/// `"std::option::Option<std::string::String>"`.
453453
///
454454
/// The returned string must not be considered to be a unique identifier of a

0 commit comments

Comments
 (0)
Please sign in to comment.