Skip to content

Commit ed1371a

Browse files
committed
chore: improve utils
1 parent 4793c48 commit ed1371a

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Sources/Helpers/Coord.swift

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,23 +80,14 @@ extension Coord: AdditiveArithmetic {
8080
}
8181
}
8282

83-
extension Coord: DurationProtocol {
83+
extension Coord {
8484
static func / (lhs: Coord, rhs: Int) -> Coord {
8585
return Self(x: lhs.x / rhs, y: lhs.y / rhs)
8686
}
8787

8888
static func * (lhs: Coord, rhs: Int) -> Coord {
8989
return Self(x: lhs.x * rhs, y: lhs.y * rhs)
9090
}
91-
92-
static func / (lhs: Coord, rhs: Coord) -> Double {
93-
return 0
94-
}
95-
96-
static func < (lhs: Coord, rhs: Coord) -> Bool {
97-
return false
98-
}
99-
10091
}
10192

10293
extension Array where Array.Element == Coord {

0 commit comments

Comments
 (0)