You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The – (en dash) should probably be removed, between "know" and "+", in the sentence:
These look like the existing operators you know – +, -, *, and /, but they have an = on the end because they assign the result back to whatever variable you were using.
<p>Swift has shorthand operators that combine one operator with an assignment, so you can change a variable in place. These look like the existing operators you know – <code>+</code>, <code>-</code>, <code>*</code>, and <code>/</code>, but they have an <code>=</code> on the end because they assign the result back to whatever variable you were using.</p>
Otherwise, someone might wonder why there are two (a long, and a short) minus signs,
and what the result would be, if a calculation used either the long or short sign.
Before
These look like the existing operators you know – +, -, *, and /,
After
These look like the existing operators you know +, -, *, and /,
The text was updated successfully, but these errors were encountered:
The
–
(en dash) should probably be removed, between "know" and "+", in the sentence:source:
Unwrap/Unwrap/Content/SixtySeconds/compound-assignment-operators.html
Line 1 in 3a5ee7f
Otherwise, someone might wonder why there are two (a long, and a short) minus signs,
and what the result would be, if a calculation used either the long or short sign.
Before
After
The text was updated successfully, but these errors were encountered: