mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
Rollup merge of #46156 - SimonSapin:patch-14, r=withoutboats
Document the size of bool
This commit is contained in:
@@ -189,6 +189,7 @@ pub fn forget<T>(t: T) {
|
||||
/// Type | size_of::\<Type>()
|
||||
/// ---- | ---------------
|
||||
/// () | 0
|
||||
/// bool | 1
|
||||
/// u8 | 1
|
||||
/// u16 | 2
|
||||
/// u32 | 4
|
||||
|
||||
Reference in New Issue
Block a user