Skip to content

Commit 2be090a

Browse files
authored
Sendable SemanticVersion (#1)
* Require Swift 5.6
1 parent cfed59e commit 2be090a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.2
1+
// swift-tools-version:5.6
22
//===----------------------------------------------------------------------===//
33
//
44
// This source file is part of the swift-semver open source project

Sources/SwiftSemver/SemanticVersion.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/// provides a detailed algorithm for making this determination. The most notable difference between this algorithm and
3030
/// an equality comparison is that precedence does not consider build metadata identifiers; this behavior may be
3131
/// observable via, e.g., the results of applying a sorting algorithm.
32-
public struct SemanticVersion: Hashable {
32+
public struct SemanticVersion: Sendable, Hashable {
3333
/// The major version number.
3434
public var major: UInt
3535

0 commit comments

Comments
 (0)