Skip to content

Commit f238c26

Browse files
authored
Update README.md
1 parent 6fb66d1 commit f238c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ let val = try await withThrowingTimeout(seconds: 2.0) {
4040

4141
> Note: When the timeout expires the task executing the closure is cancelled and `TimeoutError` is thrown.
4242
43-
An overload includes the `Timeout` object that allows the body to cancel or move the expiration if required:
43+
An overload includes a `Timeout` object allowing the body to cancel or move the expiration where required:
4444

4545
```swift
4646
try await withThrowingTimeout(seconds: 1.0) { timeout in

0 commit comments

Comments
 (0)