From 1f0844bb367b45d39e04ffd76de14315e0fb2578 Mon Sep 17 00:00:00 2001 From: Phenmod Date: Wed, 30 Oct 2019 17:27:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=8B=E6=96=B0=E5=80=BC=E6=88=96=E8=80=85?= =?UTF-8?q?=E4=BC=A0=E5=8F=82=E6=97=B6=EF=BC=8C=E7=B1=BB=E5=9E=8B=E5=8F=AF?= =?UTF-8?q?=E6=8E=A8=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/01_welcome_to_swift/03_a_swift_tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/01_welcome_to_swift/03_a_swift_tour.md b/source/01_welcome_to_swift/03_a_swift_tour.md index 917ad358..879cf8a6 100755 --- a/source/01_welcome_to_swift/03_a_swift_tour.md +++ b/source/01_welcome_to_swift/03_a_swift_tour.md @@ -101,7 +101,7 @@ let emptyArray = [String]() let emptyDictionary = [String: Float]() ``` -如果类型信息可以被推断出来,你可以用 `[]` 和 `[:]` 来创建空数组和空字典——就像你声明变量或者给函数传参数的时候一样。 +如果类型信息可以被推断出来,你可以用 `[]` 和 `[:]` 来创建空数组和空字典——比如,在给变量赋新值或者给函数传参数的时候。 ```swift shoppingList = []