Update simd syntax

This commit is contained in:
ggomez 2016-05-20 15:19:34 +02:00
parent d27bdafc3e
commit bbed89b4e5

View File

@ -1002,18 +1002,18 @@ operate on.
This will cause an error:
```compile_fail
#![feature(simd)]
#![feature(repr_simd)]
#[simd]
#[repr(simd)]
struct Bad;
```
This will not:
```
#![feature(simd)]
#![feature(repr_simd)]
#[simd]
#[repr(simd)]
struct Good(u32);
```
"##,