Skip to content

Commit a05b11c

Browse files
committed
fix a typo
1 parent bb7b8ba commit a05b11c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/behavior-considered-undefined.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Please read the [Rustonomicon] before writing unsafe code.
7575
* Invalid metadata in a wide reference, `Box<T>`, or raw pointer. The requirement
7676
for the metadata is determined by the type of the unsized tail:
7777
* `dyn Trait` metadata is invalid if it is not a pointer to a vtable for
78-
`Trait` that matches the actual dynamic trait the pointer or reference points to.
78+
`Trait` that matches the actual dynamic type the pointer or reference points to.
7979
* Slice metadata is invalid if the length is not a valid `usize`
8080
(i.e., it must not be read from uninitialized memory).
8181
Furthermore, for wide references and `Box<T>`, slice metadata is invalid

0 commit comments

Comments
 (0)