Skip to content

Commit 3600bfb

Browse files
authored
Rollup merge of rust-lang#46156 - SimonSapin:patch-14, r=withoutboats
Document the size of bool
2 parents 616b66d + 219ba51 commit 3600bfb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/mem.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ pub fn forget<T>(t: T) {
189189
/// Type | size_of::\<Type>()
190190
/// ---- | ---------------
191191
/// () | 0
192+
/// bool | 1
192193
/// u8 | 1
193194
/// u16 | 2
194195
/// u32 | 4

0 commit comments

Comments
 (0)