Skip to content

Commit e439606

Browse files
RalfJungehuss
andauthored
add ManuallyDrop link
Co-authored-by: Eric Huss <eric@huss.org>
1 parent 0c8df59 commit e439606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/unions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ field accesses.
8383

8484
When a union is dropped, it cannot know which of its fields needs to be dropped.
8585
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
8787
anything when it goes out of scope.
8888

8989
Like for structs and enums, it is possible to `impl Drop` for a union to

0 commit comments

Comments
 (0)