Skip to content

Commit 9c00a52

Browse files
Qatafreak4pc
authored andcommitted
Update README.md
Fix misspelling of `Cancellable`.
1 parent 60a9c36 commit 9c00a52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ A publisher which accepts a closure with a subscriber argument, to which you can
765765

766766
This lets you easily create custom publishers to wrap any non-publisher asynchronous work, while still respecting the downstream consumer's backpressure demand.
767767

768-
You should return a `Cancelable`-conforming object from the closure in which you can define any cleanup actions to execute when the pubilsher completes or the subscription to the publisher is canceled.
768+
You should return a `Cancellable`-conforming object from the closure in which you can define any cleanup actions to execute when the pubilsher completes or the subscription to the publisher is canceled.
769769

770770
```swift
771771
AnyPublisher<String, MyError>.create { subscriber in

0 commit comments

Comments
 (0)