Skip to content

Commit

Permalink
Fix typo with custom a custom -> with a custom
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadlock0133 committed Jun 13, 2021
1 parent fb3ea63 commit dab89b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_error_codes/src/error_codes/E0493.md
Expand Up @@ -21,7 +21,7 @@ static FOO: Foo = Foo { field1: (DropType::A, DropType::A).1 }; // error!
The problem here is that if the given type or one of its fields implements the
`Drop` trait, this `Drop` implementation cannot be called within a const
context since it may run arbitrary, non-const-checked code. To prevent this
issue, ensure all values with custom a custom `Drop` implementation escape the
issue, ensure all values with a custom `Drop` implementation escape the
initializer.

```
Expand Down

0 comments on commit dab89b5

Please sign in to comment.