Skip to content

Commit b48696e

Browse files
Update src/eval.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent b97aec7 commit b48696e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/eval.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ pub enum ProvenanceMode {
7777
/// Int2ptr casts return pointers with an invalid provenance,
7878
/// i.e., not valid for any memory access.
7979
Strict,
80-
/// Int2ptr casts return pointers valid for any allocation
80+
/// Int2ptr casts determine the allocation they point to at cast time.
81+
/// All allocations are considered exposed.
8182
Legacy,
8283
}
8384

0 commit comments

Comments
 (0)