Skip to content

Commit

Permalink
Rollup merge of rust-lang#106554 - LingMan:explanation_typo, r=compil…
Browse files Browse the repository at this point in the history
…er-errors

Fix a typo in the explanation of E0588
  • Loading branch information
compiler-errors authored Jan 7, 2023
2 parents 64beb04 + dc0e420 commit 01cb9dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_error_codes/src/error_codes/E0588.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 01cb9dc

Please sign in to comment.