Merge pull request #2021 from bobrippling/master

[swift/en] Correct "Casting" mention in swift markdown
This commit is contained in:
Adam Bard 2015-11-30 22:23:31 +07:00
commit c0ac40dff2

View File

@ -46,7 +46,7 @@ let `class` = "keyword" // backticks allow keywords to be used as variable names
let explicitDouble: Double = 70 let explicitDouble: Double = 70
let intValue = 0007 // 7 let intValue = 0007 // 7
let largeIntValue = 77_000 // 77000 let largeIntValue = 77_000 // 77000
let label = "some text " + String(myVariable) // Casting let label = "some text " + String(myVariable) // String construction
let piText = "Pi = \(π), Pi 2 = \(π * 2)" // String interpolation let piText = "Pi = \(π), Pi 2 = \(π * 2)" // String interpolation
// Build Specific values // Build Specific values