Skip to content

Commit 65ba422

Browse files
Fix typos in SIL.rst
1 parent 05a17cc commit 65ba422

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/SIL.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2065,7 +2065,7 @@ called a "forwarding instruction" and any use with such a user instruction a
20652065
"forwarding use". This inference generally occurs upon instruction construction
20662066
and as a result:
20672067

2068-
* When manipulating forwarding instructions programatically, one must manually
2068+
* When manipulating forwarding instructions programmatically, one must manually
20692069
update their forwarded ownership since most of the time the ownership is
20702070
stored in the instruction itself. Don't worry though because the SIL verifier
20712071
will catch this error for you if you forget to do so!
@@ -2075,7 +2075,7 @@ and as a result:
20752075
parsed operand.
20762076
In some cases the forwarding ownership kind is different from the ownership kind
20772077
of its operand. In such cases, textual SIL represents the forwarding ownership kind
2078-
explicity.
2078+
explicitly.
20792079
Eg: ::
20802080

20812081
%cast = unchecked_ref_cast %val : $Klass to $Optional<Klass>, forwarding: @unowned

0 commit comments

Comments
 (0)