From a8944fd76c69f5ecfcca4d775db5965f44422205 Mon Sep 17 00:00:00 2001 From: tianyl1984 Date: Fri, 12 Jun 2015 23:01:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E8=BD=AC=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 cc4281ca..4ec94206 100755 --- a/source/chapter2/04_Collection_Types.md +++ b/source/chapter2/04_Collection_Types.md @@ -177,7 +177,7 @@ for item in shoppingList { ```swift for (index, value) in enumerate(shoppingList) { - println("Item \(index + 1): \(value)") + println("Item \(String(index + 1)): \(value)") } // Item 1: Six eggs // Item 2: Milk