We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8859935 commit a4a60b4Copy full SHA for a4a60b4
Sources/TSPL/TSPL.docc/LanguageGuide/Concurrency.md
@@ -273,8 +273,8 @@ you can refactor that code into a synchronous function:
273
274
```swift
275
func move(_ photoName: String, from source: String, to destination: String) {
276
- add(photoName, to: destination)
277
- remove(photoName, from: source)
+ add(photoName, toGallery: destination)
+ remove(photoName, fromGallery: source)
278
}
279
// ...
280
let firstPhoto = await listPhotos(inGallery: "Summer Vacation")[0]
0 commit comments