Rollup merge of #46156 - SimonSapin:patch-14, r=withoutboats

Document the size of bool
This commit is contained in:
kennytm 2018-02-02 16:29:11 +08:00 committed by GitHub
commit 3600bfb3f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,6 +189,7 @@ pub fn forget<T>(t: T) {
/// Type | size_of::\<Type>()
/// ---- | ---------------
/// () | 0
/// bool | 1
/// u8 | 1
/// u16 | 2
/// u32 | 4