Rollup merge of #106554 - LingMan:explanation_typo, r=compiler-errors

Fix a typo in the explanation of E0588
This commit is contained in:
Michael Goulet 2023-01-06 21:54:01 -08:00 committed by GitHub
commit 01cb9dcd5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: