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.
2 parents b89a9ff + 0582667 commit d03f0b3Copy full SHA for d03f0b3
stdlib/public/core/ClosedRange.swift
@@ -378,6 +378,7 @@ extension ClosedRange: Equatable {
378
}
379
380
381
+@available(swift, introduced: 4.1) // FIXME(conformance-availability)
382
extension ClosedRange : Hashable where Bound : Hashable {
383
/// The hash value for the range.
384
///
@@ -386,6 +387,7 @@ extension ClosedRange : Hashable where Bound : Hashable {
386
387
/// Hash values are not guaranteed to be equal across different executions of
388
/// your program. Do not save hash values to use during a future execution.
389
@_inlineable // FIXME(sil-serialize-all)
390
+ @available(swift, introduced: 4.1)
391
public var hashValue: Int {
392
return _combineHashValues(lowerBound.hashValue, upperBound.hashValue)
393
0 commit comments