diff options
| author | Joshua Liebow-Feeser <joshlf@users.noreply.github.com> | 2024-01-25 06:59:51 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-25 06:59:51 -0800 |
| commit | c2c6e333356f53338e6eecd710faf663217a0074 (patch) | |
| tree | eac180126cf3229b0f6df6b95622d07011be2f13 | |
| parent | 1a0309afb62b01002c1ac2466a6af0dc69594596 (diff) | |
| download | rust-c2c6e333356f53338e6eecd710faf663217a0074.tar.gz rust-c2c6e333356f53338e6eecd710faf663217a0074.zip | |
Update primitive_docs.rs
| -rw-r--r-- | library/core/src/primitive_docs.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/core/src/primitive_docs.rs b/library/core/src/primitive_docs.rs index 939342c4d97..fca2d3979ab 100644 --- a/library/core/src/primitive_docs.rs +++ b/library/core/src/primitive_docs.rs @@ -1403,6 +1403,10 @@ mod prim_usize {} /// If `t` points at address `a`, being "dereferenceable" for N bytes means that the memory range /// `[a, a + N)` is all contained within a single [allocated object]. /// +/// Note that the precise validity invariants for reference types are a work in progress. In the +/// future, new guarantees may be added. However, the guarantees documented in this section will +/// never be removed. +/// /// [allocated object]: ptr#allocated-object #[stable(feature = "rust1", since = "1.0.0")] mod prim_ref {} |
