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.
8383
8484When a union is dropped, it cannot know which of its fields needs to be dropped.
8585For 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
8787anything when it goes out of scope.
8888
8989Like for structs and enums, it is possible to ` impl Drop ` for a union to
@@ -177,3 +177,4 @@ checking, etc etc etc).
177177[ _WhereClause_ ] : generics.md#where-clauses
178178[ _StructFields_ ] : structs.md
179179[ `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