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 inaccurate safety comments #346

Merged
merged 1 commit into from
May 7, 2023

Conversation

Sp00ph
Copy link
Member

@Sp00ph Sp00ph commented May 7, 2023

These safety comments were added as part of #339 but are incorrect, because you can't transmute between Simd<T, N> and [T; N] if N isn't a power of 2.

@calebzulawski calebzulawski merged commit 45413e4 into rust-lang:master May 7, 2023
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