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 alignment bug in test_impls #944

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Fix alignment bug in test_impls #944

merged 1 commit into from
Feb 23, 2024

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Feb 23, 2024

In the test for TryFromBytes::try_from_mut, in order to get a mutable slice, we first copy into a new Vec. Previously, we failed to guarantee that this Vec is aligned, and so the test sometimes spuriously failed.

In the test for `TryFromBytes::try_from_mut`, in order to get a mutable
slice, we first copy into a new `Vec`. Previously, we failed to
guarantee that this `Vec` is aligned, and so the test sometimes
spuriously failed.
@joshlf joshlf added this pull request to the merge queue Feb 23, 2024
Merged via the queue into main with commit ea3e73f Feb 23, 2024
210 checks passed
@joshlf joshlf deleted the test-impls-fix branch February 23, 2024 19:37
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.

None yet

2 participants