Skip to content

Commit 3cd385b

Browse files
committed
Follow the style guide in the style guide.
1 parent 797626b commit 3cd385b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Style.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ just surface level syntax for concepts they already know from other languages.
2626
commonly referred to as “the guide”,
2727
leads you through the Swift language in a pedagogically useful, linear order.
2828
It doesn't promise to show you every feature of
29-
the language or the standard library,
29+
the language or the Swift standard library,
3030
and it hand-waves over the exact details
3131
of some of the more complicated underlying bits.
3232
The guide leans on the reference to resolve the nitty-gritty detail questions
@@ -44,12 +44,12 @@ are already discussed in previous chapters.
4444
that the early chapters of the guide need
4545
— many topics from “The Basics” are covered again later in the guide in more detail.
4646

47-
The guide includes types from the standard library for two reasons:
47+
The guide includes types from the Swift standard library for two reasons:
4848
they’re needed by an explanation of a language concept,
4949
or they’re so common that readers wouldn’t
5050
be able to build anything useful without them.
5151
The latter reason includes a judgement call.
52-
When new types are introduced in the standard library,
52+
When new types are introduced in the Swift standard library,
5353
we usually need to discuss whether & where to add them to TSPL.
5454

5555
The guide can be broken down into three major chunks:
@@ -169,7 +169,7 @@ For example:
169169
> custom classes and structures don’t have an implementation of
170170
> the *equal to* operator (`==`) or *not equal to* operator (`!=`).
171171
> You usually implement the `==` operator,
172-
> and use the standard library’s default implementation of the `!=` operator
172+
> and use the Swift standard library’s default implementation of the `!=` operator
173173
> that negates the result of the `==` operator.
174174
> There are two ways to implement the `==` operator.
175175

0 commit comments

Comments
 (0)