Files
Rafael Cepeda 64af0a5003 Fixed sendability warnings when -require-explict-sendable flag is enabled (#68)
Fixed sendability warnings when -require-explict-sendable flag is
enabled. Added -Xswiftc -Xfrontend to fix GA workflow.
2025-06-20 12:57:43 +01:00

24 lines
798 B
Swift

//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftNIO open source project
//
// Copyright (c) 2020-2024 Apple Inc. and the SwiftNIO project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftNIO project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
/// A type that represents the Display String Structured Type.
public struct DisplayString: RawRepresentable, Codable, Equatable, Hashable, Sendable {
public typealias RawValue = String
public var rawValue: String
public init(rawValue: String) {
self.rawValue = rawValue
}
}