Skip to content

Commit 8b5c085

Browse files
Merge pull request #226 from roman-dzieciol/Xcode83b3
@escaping attribute may only be used in function parameter position
2 parents 467cf49 + 2561d3b commit 8b5c085

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/Server.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class Server {
2121
#endif
2222
}
2323

24-
public func serve(_ callback: @escaping ((request: Request, responder: @escaping ((Response) -> Void))) -> Void) throws {
24+
public func serve(_ callback: @escaping ((request: Request, responder: ((Response) -> Void))) -> Void) throws {
2525

2626
try self.server.wait { event in
2727

Swifter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "Swifter"
4-
s.version = "1.3.2"
4+
s.version = "2.0.0-Xcode83b3"
55
s.summary = "Tiny http server engine written in Swift programming language."
66
s.homepage = "https://github.com/glock45/swifter"
77
s.license = { :type => 'Copyright', :file => 'LICENSE' }

0 commit comments

Comments
 (0)