We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb7b8ba commit a05b11cCopy full SHA for a05b11c
src/behavior-considered-undefined.md
@@ -75,7 +75,7 @@ Please read the [Rustonomicon] before writing unsafe code.
75
* Invalid metadata in a wide reference, `Box<T>`, or raw pointer. The requirement
76
for the metadata is determined by the type of the unsized tail:
77
* `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.
+ `Trait` that matches the actual dynamic type the pointer or reference points to.
79
* Slice metadata is invalid if the length is not a valid `usize`
80
(i.e., it must not be read from uninitialized memory).
81
Furthermore, for wide references and `Box<T>`, slice metadata is invalid
0 commit comments