Skip to content

Commit

Permalink
Change a stray GRPCSendable to Sendable (grpc#1588)
Browse files Browse the repository at this point in the history
Motivation:

Occurrences of GRPCSendable were replaced with Sendable in grpc#1584 as we
dropped support for 5.5. However, one was missed.

Modifications:

- Change last `GRPCSendable` to `Sendable`

Result:

Fewer warnings.
  • Loading branch information
glbrntt authored Apr 14, 2023
1 parent d2d60e6 commit 87fa9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/GRPC/Server.swift
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ extension Server {
}

extension Server.Configuration {
public struct CORS: Hashable, GRPCSendable {
public struct CORS: Hashable, Sendable {
/// Determines which 'origin' header field values are permitted in a CORS request.
public var allowedOrigins: AllowedOrigins
/// Sets the headers which are permitted in a response to a CORS request.
Expand Down

0 comments on commit 87fa9ed

Please sign in to comment.