Skip to content

Commit 63aa759

Browse files
authored
Merge pull request #25 from sparrowcode/nikitas/async-await-example-fix
Fix typo in async-await
2 parents eb70746 + 1f1327c commit 63aa759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ru/tutorials/async-await.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ actor ImageDownloader {
392392
var cache: [String: UIImage] = [:]
393393

394394
func setImage(for key: String, image: UIImage) {
395-
cache["image"] = image
395+
cache[key] = image
396396
}
397397
}
398398

0 commit comments

Comments
 (0)