Update primitive_docs.rs

This commit is contained in:
Joshua Liebow-Feeser 2023-10-13 09:49:23 -07:00 committed by GitHub
parent 39660c4a77
commit 55487e235b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1399,9 +1399,8 @@ mod prim_usize {}
/// * `t` is aligned to `align_of_val(t)`
/// * `t` is dereferenceable for `size_of_val(t)` many bytes
///
/// Being "dereferenceable" for N bytes means that the memory range beginning
/// at the address `t` points to and ending N bytes later is all contained within a
/// single [allocated object].
/// 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].
///
/// [allocated object]: ptr#allocated-object
#[stable(feature = "rust1", since = "1.0.0")]