Skip to content

Commit

Permalink
Rollup merge of rust-lang#46156 - SimonSapin:patch-14, r=withoutboats
Browse files Browse the repository at this point in the history
Document the size of bool
  • Loading branch information
kennytm authored Feb 2, 2018
2 parents 616b66d + 219ba51 commit 3600bfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/mem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ pub fn forget<T>(t: T) {
/// Type | size_of::\<Type>()
/// ---- | ---------------
/// () | 0
/// bool | 1
/// u8 | 1
/// u16 | 2
/// u32 | 4
Expand Down

0 comments on commit 3600bfb

Please sign in to comment.