From d69f069954ae2d9cfbdbc3cf54399e9904a892f0 Mon Sep 17 00:00:00 2001 From: Valeriy Van Date: Tue, 22 Feb 2022 16:31:28 +0200 Subject: [PATCH] Fix warning in snippet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2128a1039..46dc963a9 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ struct Pet: Codable { let jsPet = JSObject.global.pet let swiftPet: Pet = try JSValueDecoder().decode(from: jsPet) -JSObject.global.alert!("Swift is running in the browser!") +_ = JSObject.global.alert!("Swift is running in the browser!") ``` ### `async`/`await`