Skip to content

Commit

Permalink
Update SemanticVersion.swift
Browse files Browse the repository at this point in the history
Add Sendable conformance
  • Loading branch information
ashleymills authored May 31, 2024
1 parent 2fd5a0a commit 58697c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SemanticVersion/SemanticVersion.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

public struct SemanticVersion: Comparable, Codable {
public struct SemanticVersion: Comparable, Codable, Sendable {
public static func < (lhs: SemanticVersion, rhs: SemanticVersion) -> Bool {
return lhs.major < rhs.major ||
(lhs.major == rhs.major && lhs.minor < rhs.minor) ||
Expand Down

0 comments on commit 58697c3

Please sign in to comment.