Rollup merge of #46156 - SimonSapin:patch-14, r=withoutboats
Document the size of bool
This commit is contained in:
commit
3600bfb3f0
@ -189,6 +189,7 @@ pub fn forget<T>(t: T) {
|
|||||||
/// Type | size_of::\<Type>()
|
/// Type | size_of::\<Type>()
|
||||||
/// ---- | ---------------
|
/// ---- | ---------------
|
||||||
/// () | 0
|
/// () | 0
|
||||||
|
/// bool | 1
|
||||||
/// u8 | 1
|
/// u8 | 1
|
||||||
/// u16 | 2
|
/// u16 | 2
|
||||||
/// u32 | 4
|
/// u32 | 4
|
||||||
|
Loading…
Reference in New Issue
Block a user