swiftlang / swift-book

The Swift Programming Language book
Apache License 2.0
1.76k stars 162 forks source link

Reference Fallback as a Statement not Keyword #277

Open tadbyt opened 9 months ago

tadbyt commented 9 months ago

Location

https://docs.swift.org/swift-book/documentation/the-swift-programming-language/controlflow#Fallthrough

Description

In three instances in the Fallthrough subsection, the term fallthrough keyword is given instead of fallthrough statement. While fallthough is a keyword, in each of the contexts in this section in which the fallthrough keyword appears, the discussion is with respect to its use as a statement.

Correction

Change each instance of fallthrough keyword to fallthrough statement.