Skip to content

Commit 447fdb0

Browse files
RalfJungGankra
authored andcommitted
subsume the NonNull things as library types
1 parent 2d8338b commit 447fdb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/what-unsafe-does.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ language cares about is preventing the following things:
2929
* an undefined `enum` discriminant
3030
* a `char` outside the ranges [0x0, 0xD7FF] and [0xE000, 0x10FFFF]
3131
* a non-utf8 `str`
32-
* a `NonNull` or `NonZero*` that is 0
32+
* an invalid library type with custom invalid values, such as a `NonNull` or
33+
`NonZero*` that is 0
3334
* Unwinding into another language
3435
* Causing a [data race][race]
3536

0 commit comments

Comments
 (0)