Skip to content

Commit

Permalink
fix: compile error due to missing Sendable conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
mflknr committed Apr 27, 2024
1 parent e8a66c3 commit 4066cad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// - Note: Identifier can be described using alphanumeric letters or digits.
///
/// - Attention: Strings not conforming to `SemVer` will be handled as `nil`.
public enum BuildMetaData: Comparable {
public enum BuildMetaData: Comparable, Sendable {
/// Alphanumeric identifier are lower- and uppercased letters and numbers from 0-9.
case alphaNumeric(_ identifier: String)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
///
/// - Attention: If an identifier does not show conformance for beeing numeric or alphanumeric it is initialized
/// as `nil`.
public enum PrereleaseIdentifier: Comparable, Hashable {
public enum PrereleaseIdentifier: Comparable, Hashable, Sendable {
/// Identifier displaying `alpha`.
case alpha

Expand Down

0 comments on commit 4066cad

Please sign in to comment.