From 918c3f2f7c7fdd283baeb163dc02364e532a027c Mon Sep 17 00:00:00 2001 From: TheLittleBoy Date: Sat, 28 Jun 2014 16:24:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=BC=96=E5=86=99=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 发现代码中多出来一个空格。特此修正。 --- source/chapter2/15_Deinitialization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/chapter2/15_Deinitialization.md b/source/chapter2/15_Deinitialization.md index 3bcef867..57a17a88 100755 --- a/source/chapter2/15_Deinitialization.md +++ b/source/chapter2/15_Deinitialization.md @@ -89,7 +89,7 @@ println("There are now \(Bank.coinsInBank) coins left in the bank") ```swift playerOne!.winCoins(2_000) -println("PlayerOne won 2000 coins & now has \ (playerOne!.coinsInPurse) coins") +println("PlayerOne won 2000 coins & now has \(playerOne!.coinsInPurse) coins") // 输出 "PlayerOne won 2000 coins & now has 2100 coins" println("The bank now only has \(Bank.coinsInBank) coins left") // 输出 "The bank now only has 7900 coins left"