Skip to content

Commit 1036075

Browse files
committed
fix compilation error
1 parent 3b30918 commit 1036075

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/AsyncHTTPClient/HTTPClient.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,9 @@ public class HTTPClient {
356356
/// Event Loop will be selected by the library.
357357
public static let indifferent = EventLoopPreference(preference: .indifferent)
358358
/// Library will try to use provided event loop if possible.
359-
public static func prefers(_ eventLoop: EventLoop) -> EventLoopPreference { EventLoopPreference(preference: .prefers(eventLoop)) }
359+
public static func prefers(_ eventLoop: EventLoop) -> EventLoopPreference {
360+
return EventLoopPreference(preference: .prefers(eventLoop))
361+
}
360362
}
361363

362364
/// Timeout configuration

0 commit comments

Comments
 (0)