Skip to content

Commit 44238bb

Browse files
committed
sd
1 parent 18002ae commit 44238bb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

draft-rfcs/const-evaluatable-checked.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ produce different results than what would happen on real hardware,
1414
but this is not a concern for const generics.
1515

1616
Other sources of non-determinism are allocations. This non-determinism
17-
must however not be observed during const-evaluation (TODO: link to const-eval)
18-
and is only an issue if allocations leaked into the result. This
19-
will be prevented by using [val-trees](https://github.com/rust-lang/rust/issues/72396).
17+
must however not be observed during const-evaluation (TODO: link to const-eval).
18+
Any references used in a constant are considered equal if their targets are equal, which is also determistic. (ref [val-trees](https://github.com/rust-lang/rust/issues/72396))

0 commit comments

Comments
 (0)