14 lines
212 B
Plaintext
14 lines
212 B
Plaintext
In Swift, the semicolon (``++;++``) is optional as a statement separator, but omitting semicolons can be confusing.
|
|
|
|
== Noncompliant Code Example
|
|
|
|
----
|
|
var x = 1
|
|
----
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
var x = 1;
|
|
----
|