Skip to content

Commit 01a2186

Browse files
committed
try to clarify
1 parent 986b700 commit 01a2186

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

reference/src/glossary.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ Abstract Rust Machine is intended to operate according to the definition here.
5858
#### (Pointer) Provenance
5959

6060
The *provenance* of a pointer can be used to distinguish pointers that point to the same memory address.
61-
For example, doing pointer arithmetic "remembers" the original allocation to which the pointer pointed, so it is impossible to cross allocation boundaries using pointer arithmetic:
61+
62+
For example, we have to distinguish pointers to the same location if they originated from different allocations.
63+
A pointer "remembers" the original allocation to which it pointed.
64+
This is necessary to make it impossible for pointer arithmetic to cross allocation boundaries:
6265

6366
```rust
6467
let raw1 = Box::into_raw(Box::new(13u8));

0 commit comments

Comments
 (0)