Skip to content

Commit 0991f4f

Browse files
committed
Merge pull request #41 from codestergit/patch-1
Fix Typos and spelling
2 parents 085c96a + d21d336 commit 0991f4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/HighLevelSILOptimizations.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ array.props.isCocoa/needsElementTypeCheck -> Bool
167167
Reads storage descriptors properties (isCocoa, needsElementTypeCheck).
168168
This is not control dependent or guarded. The optimizer has
169169
semantic knowledge of the state transfer those properties can not make:
170-
An array that is not ``isCocoa`` can not tranfer to ``isCocoa``.
170+
An array that is not ``isCocoa`` can not transfer to ``isCocoa``.
171171
An array that is not ``needsElementTypeCheck`` can not transfer to
172172
``needsElementTypeCheck``.
173173

@@ -228,7 +228,7 @@ array.mutate_unknown
228228
dependent. ``mutate_unknown`` also implies the guarding semantics of
229229
``make_mutable``. It is not itself guarded by ``make_mutable`` and
230230
may act as a guard to other mutating operations, such as
231-
``get_element_address``. Combining semantics allows the flexbility in how
231+
``get_element_address``. Combining semantics allows the flexibility in how
232232
the array copy is implemented in conjunction with implementing
233233
mutating functionality. This may be more efficient than cleanly
234234
isolating the copy and mutation code.

0 commit comments

Comments
 (0)