Skip to content

Commit 87fa9ed

Browse files
authored
Change a stray GRPCSendable to Sendable (#1588)
Motivation: Occurrences of GRPCSendable were replaced with Sendable in #1584 as we dropped support for 5.5. However, one was missed. Modifications: - Change last `GRPCSendable` to `Sendable` Result: Fewer warnings.
1 parent d2d60e6 commit 87fa9ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GRPC/Server.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ extension Server {
453453
}
454454

455455
extension Server.Configuration {
456-
public struct CORS: Hashable, GRPCSendable {
456+
public struct CORS: Hashable, Sendable {
457457
/// Determines which 'origin' header field values are permitted in a CORS request.
458458
public var allowedOrigins: AllowedOrigins
459459
/// Sets the headers which are permitted in a response to a CORS request.

0 commit comments

Comments
 (0)