Skip to content

Commit 8671941

Browse files
committed
Add ! to list of Copy types
1 parent fdab668 commit 8671941

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/special-types-and-traits.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ whose type implements `Copy` are copied rather than moved upon assignment.
5252
fields that are not `Copy`. `Copy` is implemented by the compiler for
5353

5454
* [Numeric types]
55-
* `char` and `bool`
55+
* `char`, `bool` and [`!`]
5656
* [Tuples] of `Copy` types
5757
* [Arrays] of `Copy` types
5858
* [Shared references]
@@ -151,3 +151,4 @@ compiler, not by [implementation items].
151151
[Tuples]: types.html#tuple-types
152152
[Type parameters]: types.html#type-parameters
153153
[variance]: ../nomicon/subtyping.html
154+
[`!`]: types.html#never-type

0 commit comments

Comments
 (0)