Skip to content

Commit 55487e2

Browse files
authored
Update primitive_docs.rs
1 parent 39660c4 commit 55487e2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

library/core/src/primitive_docs.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,9 +1399,8 @@ mod prim_usize {}
13991399
/// * `t` is aligned to `align_of_val(t)`
14001400
/// * `t` is dereferenceable for `size_of_val(t)` many bytes
14011401
///
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].
1402+
/// If `t` points at address `a`, being "dereferenceable" for N bytes means that the memory range
1403+
/// `[a, a + N)` is all contained within a single [allocated object].
14051404
///
14061405
/// [allocated object]: ptr#allocated-object
14071406
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)