Skip to content

Commit 336cb26

Browse files
committed
Reword ambiguous phrasing.
The previous paragraph talks about a single function that is both async and throwing -- but this paragraph describes some similarities between the two different kinds of functions, not about functions that are both.
1 parent 88811c2 commit 336cb26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TSPL.docc/LanguageGuide/Concurrency.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ you write both `try` and `await`:
317317
let photos = try await listPhotos(inGallery: "A Rainy Weekend")
318318
```
319319

320-
Asynchronous and throwing functions have some similarities:
320+
Asynchronous functions have some similarities to throwing functions:
321321
When you define an asynchronous or throwing function,
322322
you mark it `async` or `throws`,
323323
and you mark calls to that function with `await` or `try`.

0 commit comments

Comments
 (0)