File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ field accesses.
83
83
84
84
When a union is dropped, it cannot know which of its fields needs to be dropped.
85
85
For this reason, all union fields must either be of a ` Copy ` type or of the
86
- shape ` ManuallyDrop<_> ` . This ensures that a union does not need to drop
86
+ shape [ ` ManuallyDrop<_> ` ] . This ensures that a union does not need to drop
87
87
anything when it goes out of scope.
88
88
89
89
Like for structs and enums, it is possible to ` impl Drop ` for a union to
@@ -177,3 +177,4 @@ checking, etc etc etc).
177
177
[ _WhereClause_ ] : generics.md#where-clauses
178
178
[ _StructFields_ ] : structs.md
179
179
[ `transmute` ] : ../../std/mem/fn.transmute.html
180
+ [ `ManuallyDrop<_>` ] : ../../std/mem/struct.ManuallyDrop.html
You can’t perform that action at this time.
0 commit comments