We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6e36c commit 30288ebCopy full SHA for 30288eb
swift-6.docc/GuidedTour/GuidedTour.md
@@ -322,7 +322,7 @@ print(teamScore)
322
<< Would you like a jelly baby?
323
-->
324
325
-在 `if` 语句中,条件必须是一个布尔表达式——这意味着像 `if score { ... }` 这样的代码是错误的,而不是隐式地将 `score` 与零进行比较。
+在 `if` 语句中,条件必须是一个布尔表达式——这意味着像 `if score { ... }` 这样的代码是错误的,这不是 `score` 与零进行隐式比较的方法。
326
327
你可以在赋值操作符(`=`)或 `return` 之后使用 `if` 或 `switch`,以根据条件选择一个值。
328
0 commit comments