소스 검색

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.
George Barnett 2 년 전
부모
커밋
87fa9edb5a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Sources/GRPC/Server.swift

+ 1 - 1
Sources/GRPC/Server.swift

@@ -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.