Add Sendable Conformances

This commit is contained in:
ensan-hcl
2023-08-02 18:29:33 +09:00
parent bd4057f204
commit fb0c73d519
10 changed files with 25 additions and 25 deletions

View File

@@ -13,7 +13,7 @@ import Foundation
/// It is initialized with a string that represents a version of an app.
/// The string must be in the format of "major.minor.patch".
/// The string must not contain any other characters than numbers and dots.
public struct AppVersion: Codable, Equatable, Comparable, Hashable, LosslessStringConvertible, CustomStringConvertible {
public struct AppVersion: Codable, Equatable, Comparable, Hashable, LosslessStringConvertible, CustomStringConvertible, Sendable {
/// ParseError is an enum that represents an error that occurs when parsing a string to an AppVersion.
private enum ParseError: Error {