@@ -18,12 +18,11 @@ language cares about is preventing the following things:
18
18
19
19
* Dereferencing (using the ` * ` operator on) dangling, or unaligned pointers, or
20
20
wide pointers with invalid metadata (see below)
21
- * Reading [ uninitialized memory] [ ]
22
21
* Breaking the [ pointer aliasing rules] [ ]
23
22
* Unwinding into another language
24
23
* Causing a [ data race] [ race ]
25
24
* Executing code compiled with target features that the current thread of execution does
26
- not support (see [ ` target_feature ` ] )
25
+ not support (see [ ` target_feature ` ] [ ] )
27
26
* Producing invalid primitive values (either alone or as a field of a compound
28
27
type such as ` enum ` /` struct ` /array/tuple):
29
28
* a ` bool ` that isn't 0 or 1
@@ -39,8 +38,8 @@ language cares about is preventing the following things:
39
38
* ` dyn Trait ` metadata is invalid if it is not a pointer to a vtable for
40
39
` Trait ` that matches the actual dynamic trait the reference points to
41
40
* a non-utf8 ` str `
42
- * an uninitialized integer (` i* ` /` u* ` ), floating point value (` f* ` ), or raw
43
- pointer
41
+ * an integer (` i* ` /` u* ` ), floating point value (` f* ` ), or raw pointer read from
42
+ [ uninitialized memory ] [ ]
44
43
* an invalid library type with custom invalid values, such as a ` NonNull ` or
45
44
the ` NonZero ` family of types, that is 0
46
45
0 commit comments