Skip to content

Commit 797626b

Browse files
committed
Add a style entry for writing about the stdlib.
Per discussion with Chuck Toporek <chuck_toporek@apple.com>.
1 parent 54b2b2f commit 797626b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Style.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,17 @@ By design, actors specifically *avoid* having shared mutable state —
247247
their mutable state is private,
248248
and accessible only through the actor's (async) methods.
249249

250+
## standard library
251+
252+
Spell out in full as “the Swift standard library“ on the first use.
253+
If context already makes it clear
254+
and repeating the full name becomes wordy,
255+
you can shorted it to just “the standard library”
256+
in continued discussion.
257+
(We currently don‘t have any examples of doing that.)
258+
259+
Not “stdlib“ or “the stdlib“.
260+
250261
## spawn, start
251262

252263
Use “add” instead to refer to creating a new task,

0 commit comments

Comments
 (0)