We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d41852b commit 892b928Copy full SHA for 892b928
src/behavior-considered-undefined.md
@@ -44,7 +44,7 @@ code.
44
* A value in a `char` which is a surrogate or above `char::MAX`.
45
* A `!` (all values are invalid for this type).
46
* An integer (`i*`/`u*`), floating point value (`f*`), or raw pointer obtained
47
- from [uninitialized memory][undef].
+ from [uninitialized memory][undef], or uninitialized memory in a `str`.
48
* A reference or `Box<T>` that is dangling, unaligned, or points to an invalid value.
49
* Invalid metadata in a wide reference, `Box<T>`, or raw pointer:
50
* `dyn Trait` metadata is invalid if it is not a pointer to a vtable for
0 commit comments