We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e73604 commit fb2ef0cCopy full SHA for fb2ef0c
reference/src/representation/vectors.md
@@ -15,7 +15,7 @@ currently different for each architecture.
15
## Vector types
16
17
Vector types are `repr(simd)` homogeneous tuple-structs containing `N` elements
18
-of type `T`:
+of type `T` where `N` is a power-of-two:
19
20
```rust
21
#[repr(simd)]
@@ -85,8 +85,6 @@ unsafe {
85
86
[#36]: https://github.com/rust-rfcs/unsafe-code-guidelines/issues/36
87
88
-* Should we require `N` to be a power-of-two?
89
-
90
* `MaybeUninit<T>` does not have the same `repr` as `T`, so
91
`MaybeUninit<Vector<T, N>>` are not `repr(simd)`, which has performance
92
consequences and means that `MaybeUninit<Vector<T, N>>` is not C-FFI safe.
0 commit comments