Skip to content

Commit 2af818d

Browse files
committed
forward reference to 'dangling'
1 parent e05229d commit 2af818d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/behavior-considered-undefined.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ code.
2828
(e.g. `addr_of!(&*expr)`).
2929
* Breaking the [pointer aliasing rules]. `Box<T>`, `&mut T` and `&T` follow
3030
LLVM’s scoped [noalias] model, except if the `&T` contains an
31-
[`UnsafeCell<U>`]. References and boxes must not be dangling while they are
31+
[`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
3434
lifetime assigned by the borrow checker; it cannot be live any *longer* than

0 commit comments

Comments
 (0)