Skip to content

Commit 14c64ee

Browse files
committed
Add safety comment
1 parent e532693 commit 14c64ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/function/maybe_changed_after.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ where
484484
.iter()
485485
.all(|head| head.database_key_index == memo_database_key_index)
486486
{
487+
// SAFETY: We do not access the query stack reentrantly.
487488
let on_stack = unsafe {
488489
zalsa_local.with_query_stack_unchecked(|stack| {
489490
stack

0 commit comments

Comments
 (0)