Skip to content

Commit 8ea9663

Browse files
committed
[SIL.rst] Small bit of copy editing.
1 parent bcb6699 commit 8ea9663

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/SIL.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,8 @@ semantics would trigger a static SILVerifier error allowing us to know that we
16381638
do not have any leaks or use-after-frees in the above code.
16391639

16401640
The semantics in the previous example is of just one form of ownership semantics
1641-
supported: "owned" semantics. In SIL, we support four different ownership kinds:
1641+
supported: "owned" semantics. In SIL, we allow for values to have one of four
1642+
different ownership kinds:
16421643

16431644
* **None**. This is used to represent values that do not require memory
16441645
management and are outside of Ownership SSA invariants. Examples: trivial
@@ -1652,8 +1653,8 @@ supported: "owned" semantics. In SIL, we support four different ownership kinds:
16521653

16531654
* **Guaranteed**. A value with a scoped lifetime whose liveness is dependent on
16541655
the lifetime of some other "base" owned or guaranteed value. Consumed by
1655-
end_borrow instructions. The "base" value is statically guaranteed to be live
1656-
at all of the value's paired end_borrow instructions.
1656+
instructions like `end_borrow`_. The "base" value is statically guaranteed to
1657+
be live at all of the value's paired end_borrow instructions.
16571658

16581659
* **Unowned**. A value that is only guaranteed to be instantaneously valid and
16591660
must be copied before the value is used in an ``@owned`` or ``@guaranteed``

0 commit comments

Comments
 (0)