Skip to content

Commit 0f62f9e

Browse files
committed
Add sendable conformance when available
1 parent a70840d commit 0f62f9e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/SemanticVersion/SemanticVersion.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ extension SemanticVersion {
9696
public var isInitialRelease: Bool { return self == .init(0, 0, 0) }
9797
}
9898

99+
#if swift(>=5.5)
100+
extension SemanticVersion: Sendable {}
101+
#endif
102+
99103

100104
// Source: https://regex101.com/r/Ly7O1x/3/
101105
// Linked from https://semver.org

0 commit comments

Comments
 (0)