Skip to content

Commit e2c742c

Browse files
authored
Spelling dev docs (#42517)
* spelling: diagnostics Signed-off-by: Josh Soref <[email protected]> * spelling: distinguish Signed-off-by: Josh Soref <[email protected]> * spelling: ingests Signed-off-by: Josh Soref <[email protected]> Co-authored-by: Josh Soref <[email protected]>
1 parent 13b6fee commit e2c742c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Migrator/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Here are the passes:
5252

5353
- API Diff Pass
5454

55-
This pass injests an *API Diff Data File*, a JSON file describing API changes
55+
This pass ingests an *API Diff Data File*, a JSON file describing API changes
5656
from the previous SDK, and looks for API references, performing textual edits
5757
to update code for things like referenced type and argument names or optionality
5858
changes. This is where the majority of changes come from in the Migrator.
@@ -81,7 +81,7 @@ Here are the passes:
8181
- Tuple Splat Migrator Pass
8282

8383
This implements a few convenience transformations to ease the transition
84-
for [SE-0110: Distinguish between single-tuple and multiple-argument function types](https://github.com/apple/swift-evolution/blob/master/proposals/0110-distingish-single-tuple-arg.md).
84+
for [SE-0110: Distinguish between single-tuple and multiple-argument function types](https://github.com/apple/swift-evolution/blob/master/proposals/0110-distinguish-single-tuple-arg.md).
8585

8686
In particular, this pass adds new variable bindings in closure expressions
8787
to destructure what are now are a single argument, a tuple. Prior to SE-0110,
@@ -133,7 +133,7 @@ Other controls for the frontend:
133133

134134
For the pre- and post-fix-it passes, there are two basic rules for which fix-its the Migrator will take:
135135

136-
1. Fix-its attached to *error* diagnosics are taken by default and are opt-out.
136+
1. Fix-its attached to *error* diagnostics are taken by default and are opt-out.
137137
2. Fix-its attached to *warning* or *note* diagnostics are not taken by default and so are opt-in.
138138

139139
For the opt-out and opt-in cases, these are filtered in the `FixitFilter`, essentially just a small collection of Swift's compiler diagnostic IDs.

0 commit comments

Comments
 (0)