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
+1
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