Skip to content

Commit cd5acad

Browse files
authored
Remove unused property from _AnyHashableBox (#16926)
No functionality change.
1 parent e7e16ff commit cd5acad

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

stdlib/public/core/AnyHashable.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public protocol _HasCustomAnyHashableRepresentation {
3939

4040
@usableFromInline // FIXME(sil-serialize-all)
4141
internal protocol _AnyHashableBox {
42-
var _typeID: ObjectIdentifier { get }
4342
func _unbox<T : Hashable>() -> T?
4443

4544
/// Determine whether values in the boxes are equivalent.
@@ -65,12 +64,6 @@ internal struct _ConcreteHashableBox<Base : Hashable> : _AnyHashableBox {
6564
self._baseHashable = base
6665
}
6766

68-
69-
@inlinable // FIXME(sil-serialize-all)
70-
internal var _typeID: ObjectIdentifier {
71-
return ObjectIdentifier(type(of: self))
72-
}
73-
7467
@inlinable // FIXME(sil-serialize-all)
7568
internal func _unbox<T : Hashable>() -> T? {
7669
return (self as _AnyHashableBox as? _ConcreteHashableBox<T>)?._baseHashable

0 commit comments

Comments
 (0)