Skip to content

Commit

Permalink
Document the size of bool
Browse files Browse the repository at this point in the history
Fixes #1379
  • Loading branch information
steveklabnik committed Jun 1, 2018
1 parent b6e643d commit 83501bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 2018-edition/src/ch03-02-data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83501bc

Please sign in to comment.