We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f12c3e commit 05dc132Copy full SHA for 05dc132
compiler/rustc_error_codes/src/error_codes/E0206.md
@@ -1,4 +1,5 @@
1
-The `Copy` trait was implemented on a type which is neither a struct nor an enum nor a union.
+The `Copy` trait was implemented on a type which is neither a struct, an
2
+enum, nor a union.
3
4
Erroneous code example:
5
@@ -9,6 +10,6 @@ struct Bar;
9
10
impl Copy for &'static mut Bar { } // error!
11
```
12
-You can only implement `Copy` for a struct, a union, or an enum.
13
+You can only implement `Copy` for a struct, an enum, or a union.
14
The previous example will fail because `&'static mut Bar`
-is not a struct or enum.
15
+is not a struct, an enum, or a union.
0 commit comments