Fix a typo in the explanation of E0588

This commit is contained in:
LingMan 2023-01-07 05:10:53 +01:00
parent 7ac9572c48
commit dc0e4207d4

View File

@ -11,7 +11,7 @@ struct Aligned(i32);
struct Packed(Aligned);
```
Just like you cannot have both `align` and `packed` representation hints on a
Just like you cannot have both `align` and `packed` representation hints on the
same type, a `packed` type cannot contain another type with the `align`
representation hint. However, you can do the opposite: