Skip to content

Commit d871de6

Browse files
committed
NonNullU8 is actually called NonZeroU8
1 parent 334c8b6 commit d871de6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wip/value-domain.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ Certainly, a value `Int(i)` where `i` in `0..256` is related to `[b]` if `b.as_i
8787
And then, maybe, we also want to additionally say that value `Uninit` is related to byte list `[Uninit]`.
8888
This essentially corresponds to saying that uninitialized memory is a valid representation of a `u8` value (namely, the uninitialized value).
8989

90-
### `NonNullU8`
90+
### `NonZeroU8`
9191

92-
`NonNullU8` is basically the same as `u8` except that we remove the 0, and certainly do not consider `Uninit` a valid value.
92+
`NonZeroU8` is basically the same as `u8` except that we remove the 0, and certainly do not consider `Uninit` a valid value.
9393
A value `Int(i)` where `i` in `1..256` is related to `[b]` if `b.as_int() == Some(i)`, and that's it.
9494

9595
### `union`

0 commit comments

Comments
 (0)