Skip to content

Commit e05229d

Browse files
clarify "upper bound"
Co-authored-by: Josh Triplett <[email protected]>
1 parent 3657967 commit e05229d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/behavior-considered-undefined.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ code.
3131
[`UnsafeCell<U>`]. References and boxes must not be dangling while they are
3232
live. The exact liveness duration is not specified, but some bounds exist:
3333
* For references, the liveness duration is upper-bounded by the syntactic
34-
lifetime assigned by the borrow checker.
34+
lifetime assigned by the borrow checker; it cannot be live any *longer* than
35+
that lifetime.
3536
* Each time a reference or box is passed to or returned from a function, it is
3637
considered live.
3738
* When a reference (but not a `Box`!) is passed to a function, it is live at

0 commit comments

Comments
 (0)