Skip to content

Commit 468ead9

Browse files
committed
Remove explicit type annotation that can be inferred
1 parent 009c721 commit 468ead9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SignalProducer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,7 @@ extension SignalProducerProtocol {
18911891
/// each value from the original producer to the inner producer corresponding
18921892
/// to the group to which the value belongs to (as determined by the key)
18931893
public func group<Key: Hashable>(by grouping: @escaping (Value) -> Key) -> SignalProducer<(Key, SignalProducer<Value, Error>), Error> {
1894-
return SignalProducer<(Key, SignalProducer<Value, Error>), Error> { observer, disposable in
1894+
return SignalProducer { observer, disposable in
18951895
let groups = Atomic<[Key: Signal<Value, Error>.Observer]>([:])
18961896

18971897
disposable += self.start { event in

0 commit comments

Comments
 (0)