rust-lang / portable-simd

The testing ground for the future of portable SIMD in Rust
Apache License 2.0
903 stars 81 forks source link

Fix inaccurate safety comments #346

Closed Sp00ph closed 1 year ago

Sp00ph commented 1 year ago

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.