Skip to content

Commit

Permalink
Fix a typo from SwiftConcurrency.md (#2623)
Browse files Browse the repository at this point in the history
* Fix a typo from SwiftConcurrency.md

* �Refix a typo SwiftConcurrency.md
  • Loading branch information
HeegeePark authored Oct 3, 2024
1 parent 239d81e commit 58a0054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/SwiftConcurrency.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Note that the `Observable` must complete, or the async task will suspend and nev

#### Awaiting a non-throwing sequence

`Infalliable`, `Driver`, and `Signal` are all guaranteed to never emit errors (as opposed to `Observable`), so you may directly iterate over their values without worrying about catching any errors:
`Infallible`, `Driver`, and `Signal` are all guaranteed to never emit errors (as opposed to `Observable`), so you may directly iterate over their values without worrying about catching any errors:

```swift
for await value in infallible.values {
Expand Down Expand Up @@ -62,4 +62,4 @@ stream.asObservable()
onNext: { ... },
onError: { ... }
)
```
```

0 comments on commit 58a0054

Please sign in to comment.