Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stacked borrows violations #226

Merged
merged 1 commit into from
Nov 12, 2022
Merged

Fix stacked borrows violations #226

merged 1 commit into from
Nov 12, 2022

Conversation

clubby789
Copy link
Contributor

Use offsets from a single pointer instead of multiple pointers into an array.
Also removed an integer-pointer cast which can cause issues with Miri

Use offsets from a single pointer instead of multiple pointers into an array.
Also removed an integer-pointer cast
@bluss
Copy link
Owner

bluss commented Nov 12, 2022

Thank you, rebased and retested in CI and it looks good

@bluss
Copy link
Owner

bluss commented Nov 12, 2022

failures reported in master here: https://github.com/bluss/arrayvec/actions/runs/3450267864/jobs/5758757231 and they are fixed by this change

@bluss bluss merged commit 0637cb7 into bluss:master Nov 12, 2022
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.

2 participants