diff --git a/Sources/HashTreeCollections/HashNode/_HashNode.swift b/Sources/HashTreeCollections/HashNode/_HashNode.swift index b807aef8..f7fc74f3 100644 --- a/Sources/HashTreeCollections/HashNode/_HashNode.swift +++ b/Sources/HashTreeCollections/HashNode/_HashNode.swift @@ -103,27 +103,27 @@ extension _HashNode { extension _HashNode { @inlinable internal var isCollisionNode: Bool { - read { $0.isCollisionNode } + self.read { $0.isCollisionNode } } @inlinable internal var collisionHash: _Hash { - read { $0.collisionHash } + self.read { $0.collisionHash } } @inlinable internal var hasSingletonItem: Bool { - read { $0.hasSingletonItem } + self.read { $0.hasSingletonItem } } @inlinable internal var hasSingletonChild: Bool { - read { $0.hasSingletonChild } + self.read { $0.hasSingletonChild } } @inlinable internal var isAtrophied: Bool { - read { $0.isAtrophiedNode } + self.read { $0.isAtrophiedNode } } } diff --git a/Sources/OrderedCollections/HashTable/_HashTable+CustomStringConvertible.swift b/Sources/OrderedCollections/HashTable/_HashTable+CustomStringConvertible.swift index 2ed4c7f5..1c46ce86 100644 --- a/Sources/OrderedCollections/HashTable/_HashTable+CustomStringConvertible.swift +++ b/Sources/OrderedCollections/HashTable/_HashTable+CustomStringConvertible.swift @@ -50,7 +50,7 @@ extension _HashTable.UnsafeHandle: CustomStringConvertible { extension _HashTable: CustomStringConvertible { @usableFromInline internal var description: String { - read { $0._description(type: "_HashTable") } + self.read { $0._description(type: "_HashTable") } } }