Skip to content

Commit dc0e420

Browse files
committed
Fix a typo in the explanation of E0588
1 parent 7ac9572 commit dc0e420

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+1
-1
lines changed

compiler/rustc_error_codes/src/error_codes/E0588.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ struct Aligned(i32);
1111
struct Packed(Aligned);
1212
```
1313

14-
Just like you cannot have both `align` and `packed` representation hints on a
14+
Just like you cannot have both `align` and `packed` representation hints on the
1515
same type, a `packed` type cannot contain another type with the `align`
1616
representation hint. However, you can do the opposite:
1717

0 commit comments

Comments
 (0)