We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hashValue
1 parent e0495a7 commit 1485404Copy full SHA for 1485404
stdlib/public/core/Hashable.swift
@@ -106,6 +106,9 @@ public protocol Hashable : Equatable {
106
///
107
/// Hash values are not guaranteed to be equal across different executions of
108
/// your program. Do not save hash values to use during a future execution.
109
+ ///
110
+ /// - Important: `hashValue` is deprecated as a Hashable requirement. To
111
+ /// conform to `Hashable`, implement the `hash(into:)` requirement instead.
112
var hashValue: Int { get }
113
114
/// Hashes the essential components of this value by feeding them into the
0 commit comments