Skip to content

Commit 4bdfa3f

Browse files
committed
Update Mergeable
1 parent df6289c commit 4bdfa3f

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

Sources/OpenGestures/Core/GestureTrait.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,8 @@ extension GestureTraitCollection: NestedCustomStringConvertible {
209209

210210
// MARK: - GestureTraitCollection + Mergeable
211211

212-
@_spi(Private)
213212
extension GestureTraitCollection: Mergeable {
214-
public mutating func merge(_ other: GestureTraitCollection) {
213+
package mutating func merge(_ other: GestureTraitCollection) {
215214
_traits.merge(other._traits) { $1 }
216215
}
217216
}

Sources/OpenGestures/Util/Mergeable.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
// MARK: - Mergeable
99

10-
@_spi(Private)
11-
public protocol Mergeable {
10+
package protocol Mergeable {
1211
mutating func merge(_ other: Self)
1312
}

0 commit comments

Comments
 (0)