refactor(AstNode): replace UnsafeCells with Cells #574

Merged
wetneb merged 1 commit from ada4a/mergiraf:cell-parent into main 2025-08-27 11:41:20 +02:00
Owner

Cell can be used whenever the type stored is Copy, which is the case
for us, since we store references -- either to the parent or the dfs
slice

`Cell` can be used whenever the type stored is `Copy`, which is the case for us, since we store references -- either to the parent or the `dfs` slice
refactor(AstNode): replace UnsafeCells with Cells
All checks were successful
/ test (pull_request) Successful in 43s
268a1d268c
`Cell` can be used whenever the type stored is `Copy`, which is the case
for us, since we store references -- either to the parent or the `dfs`
slice
Author
Owner
(this is a nice trick I saw in https://manishearth.github.io/blog/2021/03/15/arenas-in-rust/)
wetneb approved these changes 2025-08-25 18:31:51 +02:00
wetneb merged commit e53de66f94 into main 2025-08-27 11:41:20 +02:00
ada4a deleted branch cell-parent 2025-09-09 21:39:41 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mergiraf/mergiraf#574
No description provided.