Skip to content

Commit 72138e3

Browse files
committed
Sequence is fine
1 parent 6841495 commit 72138e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftDraw/LayerTree.Path.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ extension LayerTree.Path.Segment {
132132
}
133133

134134

135-
extension BidirectionalCollection where Element == LayerTree.Path.Segment, Index == Int {
135+
extension Sequence where Element == LayerTree.Path.Segment {
136136

137137
// Determine direction by sign of calculated area
138138
// https://www.101computing.net/the-shoelace-algorithm/

0 commit comments

Comments
 (0)