Skip to content

Commit 930e8fe

Browse files
committed
Fix signature
1 parent e988f80 commit 930e8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Adapters/GCDWebServer/GCDHTTPServer.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public class GCDHTTPServer: HTTPServer, Loggable {
172172

173173
// MARK: HTTPServer
174174

175-
public func serve(at endpoint: HTTPServerEndpoint, handler: @escaping (HTTPServerRequest) -> any Resource) throws -> URL {
175+
public func serve(at endpoint: HTTPServerEndpoint, handler: @escaping (HTTPServerRequest) -> Resource) throws -> URL {
176176
try serve(at: endpoint, handler: handler, failureHandler: nil)
177177
}
178178

0 commit comments

Comments
 (0)