mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 14:56:54 +02:00
Merge pull request #2021 from bobrippling/master
[swift/en] Correct "Casting" mention in swift markdown
This commit is contained in:
@@ -46,7 +46,7 @@ let `class` = "keyword" // backticks allow keywords to be used as variable names
|
||||
let explicitDouble: Double = 70
|
||||
let intValue = 0007 // 7
|
||||
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
|
||||
|
||||
// Build Specific values
|
||||
|
Reference in New Issue
Block a user