Skip to content

Commit 7c4f26a

Browse files
committed
EventStreams: formatting
1 parent ca31786 commit 7c4f26a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/OpenAPIRuntime/EventStreams/ServerSentEventsDecoding.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ extension ServerSentEventsDeserializationSequence.Iterator {
166166
/// Creates a new state machine.
167167
init(while predicate: @escaping (ArraySlice<UInt8>) -> Bool) {
168168
self.state = .accumulatingEvent(.init(), buffer: [])
169-
self.predicate = predicate}
169+
self.predicate = predicate
170+
}
170171

171172
/// An action returned by the `next` method.
172173
enum NextAction {

0 commit comments

Comments
 (0)