Skip to content

Commit fc2cdb2

Browse files
authored
Merge pull request #182 from RalfJung/provenance
provenance definition: more careful wording
2 parents 0266f8e + c26eaa4 commit fc2cdb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: reference/src/glossary.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ In the following, we give some examples if what provenance *could* look like.
6868
**Using provenance to track originating allocation.**
6969
For example, we have to distinguish pointers to the same location if they originated from different allocations.
7070
Cross-allocation pointer arithmetic [does not lead to usable pointers](https://doc.rust-lang.org/std/primitive.pointer.html#method.wrapping_offset), so the Rust Abstract Machine *somehow* has to remember the original allocation to which a pointer pointed.
71-
It uses provenance to achieve this:
71+
It could use provenance to achieve this:
7272

7373
```rust
7474
// Let's assume the two allocations here have base addresses 0x100 and 0x200.

0 commit comments

Comments
 (0)