Document the size of bool

This commit is contained in:
Simon Sapin 2017-11-21 14:44:25 +01:00 committed by GitHub
parent ebda7662db
commit 219ba511c8
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