Skip to content

Commit 33d5aea

Browse files
committed
Rewrite for clarity.
When written as "avoid conflicting" or "avoid conflicts", the reader can misread "conflict" as as verb, and then have to backtrack to re-read it as a noun. Applying an operator is a way to access or assign a value, so it doesn't need to be separate. This phrasing avoids the awkward non-parallelism in the "X and Y, and Z" construct.
1 parent 5fc2b36 commit 33d5aea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/TSPL/TSPL.docc/LanguageGuide/MemorySafety.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Memory Safety
44

5-
Avoid conflicting access to memory.
5+
Structure your code to avoid conflicts when accessing memory.
66

77
By default, Swift prevents unsafe behavior from happening in your code.
88
For example,

Sources/TSPL/TSPL.docc/ReferenceManual/Expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Expressions
44

5-
Access values and members, and apply operators.
5+
Access, modify, and assign values.
66

77
In Swift, there are four kinds of expressions:
88
prefix expressions, infix expressions, primary expressions, and postfix expressions.

0 commit comments

Comments
 (0)