Skip to content

Commit c81c32c

Browse files
committed
make Match result sendable
1 parent 9f01301 commit c81c32c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/Fuzzy/Fuzzy.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ public struct Match<Collection>: CustomDebugStringConvertible where Collection:
2121
}
2222
}
2323

24-
extension Match: Equatable where Match.Element: Equatable {}
24+
extension Match: Equatable where Element: Equatable {}
25+
extension Match: Sendable where Element: Sendable, Index: Sendable {}
2526

2627
fileprivate enum Bounus {
2728
static let firstCharMatch = 10

0 commit comments

Comments
 (0)