We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 470fba5 commit c12d55bCopy full SHA for c12d55b
core/src/primitive_docs.rs
@@ -1397,7 +1397,11 @@ mod prim_usize {}
1397
/// which violates any of these properties.
1398
///
1399
/// * `t` is aligned to `align_of_val(t)`
1400
-/// * `t` refers to a single [allocated object]
+/// * `t` is dereferenceable for `size_of_val(t)` many bytes
1401
+///
1402
+/// Being "dereferenceable" for N bytes means that the memory range beginning
1403
+/// at the address `t` points to and ending N bytes later is all contained within a
1404
+/// single [allocated object].
1405
1406
/// [allocated object]: ptr#allocated-object
1407
#[stable(feature = "rust1", since = "1.0.0")]
0 commit comments