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.
1 parent 8b18ad7 commit ae5c8e7Copy full SHA for ae5c8e7
Darwin/Foundation-swiftoverlay/NSRange.swift
@@ -13,14 +13,6 @@
13
@_exported import Foundation // Clang module
14
15
extension NSRange : Hashable {
16
- public var hashValue: Int { // FIXME(hashValue): Remove
17
-#if arch(i386) || arch(arm)
18
- return Int(bitPattern: (UInt(bitPattern: location) | (UInt(bitPattern: length) << 16)))
19
-#elseif arch(x86_64) || arch(arm64)
20
- return Int(bitPattern: (UInt(bitPattern: location) | (UInt(bitPattern: length) << 32)))
21
-#endif
22
- }
23
-
24
public func hash(into hasher: inout Hasher) {
25
hasher.combine(location)
26
hasher.combine(length)
0 commit comments