diff options
| author | Joshua Liebow-Feeser <joshlf@users.noreply.github.com> | 2023-10-13 09:49:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-13 09:49:23 -0700 |
| commit | 55487e235b106088ced4e5b4710fa8f9674baaf9 (patch) | |
| tree | 638e34ea79533076f12e8f08bf48ad739faf65b3 | |
| parent | 39660c4a77d3dda7f5d57a8d91faa946fff5192b (diff) | |
| download | rust-55487e235b106088ced4e5b4710fa8f9674baaf9.tar.gz rust-55487e235b106088ced4e5b4710fa8f9674baaf9.zip | |
Update primitive_docs.rs
| -rw-r--r-- | library/core/src/primitive_docs.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/library/core/src/primitive_docs.rs b/library/core/src/primitive_docs.rs index cde49aeb687..19ff41697d9 100644 --- a/library/core/src/primitive_docs.rs +++ b/library/core/src/primitive_docs.rs @@ -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")] |
