From 24eafcc94d95000e66ed3a6f0af2b9b4b4731faf Mon Sep 17 00:00:00 2001 From: Madimo Date: Thu, 19 Jun 2014 13:19:57 +0800 Subject: [PATCH] Update 08_Enumerations.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit '显示' -> '显式' --- source/chapter2/08_Enumerations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/chapter2/08_Enumerations.md b/source/chapter2/08_Enumerations.md index c9206d51..98c73c77 100755 --- a/source/chapter2/08_Enumerations.md +++ b/source/chapter2/08_Enumerations.md @@ -68,7 +68,7 @@ var directionToHead = CompassPoint.West directionToHead = .East ``` -`directionToHead`的类型已知时,当设定它的值时,你可以不再写类型名。使用显示类型的枚举值可以让代码具有更好的可读性。 +`directionToHead`的类型已知时,当设定它的值时,你可以不再写类型名。使用显式类型的枚举值可以让代码具有更好的可读性。 ## 匹配枚举值和`Switch`语句