File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1638,7 +1638,8 @@ semantics would trigger a static SILVerifier error allowing us to know that we
1638
1638
do not have any leaks or use-after-frees in the above code.
1639
1639
1640
1640
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:
1642
1643
1643
1644
* **None **. This is used to represent values that do not require memory
1644
1645
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:
1652
1653
1653
1654
* **Guaranteed **. A value with a scoped lifetime whose liveness is dependent on
1654
1655
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.
1657
1658
1658
1659
* **Unowned **. A value that is only guaranteed to be instantaneously valid and
1659
1660
must be copied before the value is used in an ``@owned `` or ``@guaranteed ``
You can’t perform that action at this time.
0 commit comments