From eaf346afe382b35bf91bb206140a8c16738ebc19 Mon Sep 17 00:00:00 2001 From: Gordon <122721782@qq.com> Date: Tue, 16 Jun 2015 09:48:41 +0800 Subject: [PATCH] Update 04_Collection_Types.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set的for循环中,循环体中的值属性写错了 value -> genre --- source/chapter2/04_Collection_Types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/chapter2/04_Collection_Types.md b/source/chapter2/04_Collection_Types.md index 4ec94206..19c05246 100755 --- a/source/chapter2/04_Collection_Types.md +++ b/source/chapter2/04_Collection_Types.md @@ -350,7 +350,7 @@ if favoriteGenres.contains("Funk") { ```swift for genre in favoriteGenres { - println("\(value)") + println("\(genre)") } // Classical // Jazz