Skip to content

Commit 219ba51

Browse files
authored
Document the size of bool
1 parent ebda766 commit 219ba51

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)