File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public protocol Hashable: Equatable {
109
109
///
110
110
/// - Important: `hashValue` is deprecated as a `Hashable` requirement. To
111
111
/// conform to `Hashable`, implement the `hash(into:)` requirement instead.
112
- /// ( The compiler will provide an implementation for `hashValue` for you.)
112
+ /// The compiler provides an implementation for `hashValue` for you.
113
113
var hashValue : Int { get }
114
114
115
115
/// Hashes the essential components of this value by feeding them into the
@@ -120,9 +120,10 @@ public protocol Hashable: Equatable {
120
120
/// in your type's `==` operator implementation. Call `hasher.combine(_:)`
121
121
/// with each of these components.
122
122
///
123
- /// - Important: `hash(into:)` implementations must never call `finalize()` on
124
- /// the `hasher` instance provided, or replace it with a different
125
- /// instance. Doing so may become compile-time errors in the future.
123
+ /// - Important: In your implemention of `hash(into:)`,
124
+ /// don't call `finalize()` on the `hasher` instance provided,
125
+ /// or replace it with a different instance.
126
+ /// Doing so may become a compile-time error in the future.
126
127
///
127
128
/// - Parameter hasher: The hasher to use when combining the components
128
129
/// of this instance.
You can’t perform that action at this time.
0 commit comments