about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-01-06 21:54:01 -0800
committerGitHub <noreply@github.com>2023-01-06 21:54:01 -0800
commit01cb9dcd5b555c3b66f5a133b5cad5fab5245aec (patch)
tree0275374ef983ec38f9d00c608b131a393531debc
parent64beb046eef265ad05034736c065381b01d201b2 (diff)
parentdc0e4207d4d621d031ef25395f93cc43d36a08f2 (diff)
downloadrust-01cb9dcd5b555c3b66f5a133b5cad5fab5245aec.tar.gz
rust-01cb9dcd5b555c3b66f5a133b5cad5fab5245aec.zip
Rollup merge of #106554 - LingMan:explanation_typo, r=compiler-errors
Fix a typo in the explanation of E0588
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0588.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0588.md b/compiler/rustc_error_codes/src/error_codes/E0588.md
index 040c7a02ef4..995d945f158 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0588.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0588.md
@@ -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: