Skip to content

Commit

Permalink
Sendable SemanticVersion (#1)
Browse files Browse the repository at this point in the history
* Require Swift 5.6
  • Loading branch information
MahdiBM committed Jul 25, 2023
1 parent cfed59e commit 2be090a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.2
// swift-tools-version:5.6
//===----------------------------------------------------------------------===//
//
// This source file is part of the swift-semver open source project
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftSemver/SemanticVersion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/// provides a detailed algorithm for making this determination. The most notable difference between this algorithm and
/// an equality comparison is that precedence does not consider build metadata identifiers; this behavior may be
/// observable via, e.g., the results of applying a sorting algorithm.
public struct SemanticVersion: Hashable {
public struct SemanticVersion: Sendable, Hashable {
/// The major version number.
public var major: UInt

Expand Down

0 comments on commit 2be090a

Please sign in to comment.