File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ public struct ObjectIdentifier : Hashable, Comparable {
31
31
32
32
/// Convert to a `UInt` that captures the full value of `self`.
33
33
///
34
- /// Axiom: `a.uintValue() == b.uintValue() ` iff `a == b`
35
- public func uintValue( ) -> UInt {
34
+ /// Axiom: `a.uintValue == b.uintValue` iff `a == b`
35
+ public var uintValue : UInt {
36
36
return UInt ( Builtin . ptrtoint_Word ( value) )
37
37
}
38
38
@@ -60,7 +60,7 @@ public struct ObjectIdentifier : Hashable, Comparable {
60
60
}
61
61
62
62
public func < ( lhs: ObjectIdentifier , rhs: ObjectIdentifier ) -> Bool {
63
- return lhs. uintValue ( ) < rhs. uintValue ( )
63
+ return lhs. uintValue < rhs. uintValue
64
64
}
65
65
66
66
public func == ( x: ObjectIdentifier , y: ObjectIdentifier ) -> Bool {
You can’t perform that action at this time.
0 commit comments