From f4e4df74083865cfe714aeb54a9842cbf0f71b23 Mon Sep 17 00:00:00 2001 From: Danila Morozov Date: Mon, 4 Mar 2024 23:08:58 +0300 Subject: [PATCH] Update basic-syntax.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Исправляет опечатку --- basic-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic-syntax.md b/basic-syntax.md index 6e99cad..68c47c5 100644 --- a/basic-syntax.md +++ b/basic-syntax.md @@ -418,7 +418,7 @@ for (item in items) { val items = setOf("яблоко", "банан", "киви") when { "апельсин" in items -> println("сочно") - "apple" in items -> println("яблоко тоже подойдет") + "яблоко" in items -> println("яблоко тоже подойдет") } ```