Skip to content

Conversation

@lolkdsanyaw
Copy link
Contributor

The file_syntax_diagnostics function was performing a redundant cloneon diagnostic data that's already returned by reference via salsa'stracked query system. This removes the superfluous allocation without any behavioral changes.

All existing tests pass with this change.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator

@orizi orizi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@orizi reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @lolkdsanyaw)

@orizi orizi enabled auto-merge November 20, 2025 19:53
@orizi orizi added this pull request to the merge queue Nov 20, 2025
Merged via the queue into starkware-libs:main with commit 078845f Nov 20, 2025
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants