Skip to content

Commit

Permalink
Constrain flatMapError with Constraint == OfMany.
Browse files Browse the repository at this point in the history
  • Loading branch information
andersio committed Aug 15, 2020
1 parent 2bff205 commit c23fa92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Flatten.swift
Expand Up @@ -1234,7 +1234,7 @@ extension Signal {
}
}

extension SignalProducer {
extension Producer where Constraint == OfMany {
/// Catches any failure that may occur on the input producer, mapping to a
/// new producer that starts in its place.
///
Expand Down
2 changes: 1 addition & 1 deletion Sources/SignalProducer.swift
Expand Up @@ -309,7 +309,7 @@ private final class GeneratorCore<Value, Error: Swift.Error>: SignalProducerCore
}
}

extension SignalProducer where Constraint: DeliversValue, Error == Never {
extension Producer where Constraint: DeliversValue, Error == Never {
/// Creates a producer for a `Signal` that will immediately send one value
/// then complete.
///
Expand Down

0 comments on commit c23fa92

Please sign in to comment.