From 83501bce826153334ab8f5fd46995e485568b036 Mon Sep 17 00:00:00 2001 From: steveklabnik Date: Fri, 1 Jun 2018 07:26:20 -0400 Subject: [PATCH] Document the size of bool Fixes #1379 --- 2018-edition/src/ch03-02-data-types.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/2018-edition/src/ch03-02-data-types.md b/2018-edition/src/ch03-02-data-types.md index 86359ea809..d0fe0cc2be 100644 --- a/2018-edition/src/ch03-02-data-types.md +++ b/2018-edition/src/ch03-02-data-types.md @@ -173,6 +173,8 @@ The main way to consume Boolean values is through conditionals, such as an `if` expression. We’ll cover how `if` expressions work in Rust in the “Control Flow” section. +Booleans are one byte in size. + #### The Character Type So far we’ve worked only with numbers, but Rust supports letters too. Rust’s