Skip to content

Commit 52843c7

Browse files
Merge pull request #233 from Havvy/sizeof-bool
Add size of bool
2 parents 57f6442 + 85edb98 commit 52843c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/type-layout.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ The size of most primitives is given in this table.
3636

3737
Type | `size_of::\<Type>()`
3838
- | - | -
39+
bool | 1
3940
u8 | 1
4041
u16 | 2
4142
u32 | 4

0 commit comments

Comments
 (0)