From 85edb98a5dae8dc1076a24c0d26a8708914aefc9 Mon Sep 17 00:00:00 2001 From: Havvy Date: Sat, 3 Feb 2018 08:42:39 -0800 Subject: [PATCH] Add size of bool --- src/type-layout.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/type-layout.md b/src/type-layout.md index 48349d55f8869..718bb71d5ca5d 100644 --- a/src/type-layout.md +++ b/src/type-layout.md @@ -36,6 +36,7 @@ The size of most primitives is given in this table. Type | `size_of::\()` - | - | - +bool | 1 u8 | 1 u16 | 2 u32 | 4