Skip to content

Commit 2587a6c

Browse files
committed
Remove explicit type annotation that can be inferred
1 parent d53d396 commit 2587a6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/SignalProducer.swift

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

19491949
disposable += self.start { event in

0 commit comments

Comments
 (0)