Skip to content

Commit 518ccce

Browse files
authored
Optimize documentation wording for clarity
1 parent 1e861ac commit 518ccce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/AnyHashable.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ internal struct _ConcreteHashableBox<Base: Hashable>: _AnyHashableBox {
110110
/// to an underlying hashable value, hiding the type of the wrapped value.
111111
///
112112
/// For types that support conversions between each other using `as` or `as?`
113-
/// (such as `Int` and `NSNumber`), `AnyHashable` treats their values as
114-
/// equivalent when type-erased by forwarding operations to canonical
113+
/// (such as `Int` and `NSNumber`), `AnyHashable` treats their values
114+
/// equivalently when type-erased by forwarding operations to canonical
115115
/// representations of the wrapped values.
116116
///
117117
/// You can store mixed-type keys in dictionaries and other collections that

0 commit comments

Comments
 (0)