Skip to content

Fix typos in SIL.rst #41202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/SIL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2065,7 +2065,7 @@ called a "forwarding instruction" and any use with such a user instruction a
"forwarding use". This inference generally occurs upon instruction construction
and as a result:

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

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