Skip to content

Commit c2c6e33

Browse files
authored
Update primitive_docs.rs
1 parent 1a0309a commit c2c6e33

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

library/core/src/primitive_docs.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1403,6 +1403,10 @@ mod prim_usize {}
14031403
/// If `t` points at address `a`, being "dereferenceable" for N bytes means that the memory range
14041404
/// `[a, a + N)` is all contained within a single [allocated object].
14051405
///
1406+
/// Note that the precise validity invariants for reference types are a work in progress. In the
1407+
/// future, new guarantees may be added. However, the guarantees documented in this section will
1408+
/// never be removed.
1409+
///
14061410
/// [allocated object]: ptr#allocated-object
14071411
#[stable(feature = "rust1", since = "1.0.0")]
14081412
mod prim_ref {}

0 commit comments

Comments
 (0)