Skip to content

Commit 08e2632

Browse files
committed
Make MatcherResult conform to Sendable (#1132)
* Make FailureMessage sendable. * Make MatcherResult conform to Sendable
1 parent 48073df commit 08e2632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Nimble/Matchers/Matcher.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public enum ExpectationStyle: Sendable {
9696

9797
/// The value that a Matcher returns to describe if the given (actual) value matches the
9898
/// matcher.
99-
public struct MatcherResult {
99+
public struct MatcherResult: Sendable {
100100
/// Status indicates if the matcher matches, does not match, or fails.
101101
public var status: MatcherStatus
102102
/// The error message that can be displayed if it does not match

0 commit comments

Comments
 (0)