Skip to content

Commit

Permalink
I missed some ;(
Browse files Browse the repository at this point in the history
  • Loading branch information
chorman0773 committed Dec 12, 2024
1 parent 41ca263 commit 0bd1163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types/boolean.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ r[type.bool.layout]
An object with the boolean type has a [size and alignment] of 1 each.

r[type.bool.repr]
A `bool` is represented as a single initialized byte with a value of `0x00` corresponding to `false` and a value of `0x01` corresponding to `true`.
A `bool` is represented as a single initialized byte with a value of `0x00` corresponding to `false` and a value of `0x01` corresponding to `true`.

> [!NOTE]
> No other representations are valid for `bool`. Undefined Behaviour occurs when any other byte is read as type `bool`.
Expand Down
2 changes: 1 addition & 1 deletion src/types/pointer.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ A wide pointer or reference is represented the same as `struct WidePointer<M>{da

> [!NOTE]
> The `WidePointer` struct has no guarantees about layout, and has the default representation.
> In particular, it is not guaranteed that you can write a struct type with the same layout as `WidePointer<M>`.
> In particular, it is not guaranteed that you can write a struct type with the same layout as `WidePointer<M>`.
## Pointer Provenance

Expand Down

0 comments on commit 0bd1163

Please sign in to comment.