about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-11-21 14:44:25 +0100
committerGitHub <noreply@github.com>2017-11-21 14:44:25 +0100
commit219ba511c824bc44149d55c570f723dcd0f0217d (patch)
treeaf99646ecc327fdc475e92c65ca219e87cf46a02 /src/libcore
parentebda7662dbb79ab0a9feb79d367d0818c23ff1dc (diff)
downloadrust-219ba511c824bc44149d55c570f723dcd0f0217d.tar.gz
rust-219ba511c824bc44149d55c570f723dcd0f0217d.zip
Document the size of bool
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/mem.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs
index d57fbdf55f8..486093f261c 100644
--- a/src/libcore/mem.rs
+++ b/src/libcore/mem.rs
@@ -189,6 +189,7 @@ pub fn forget<T>(t: T) {
 /// Type | size_of::\<Type>()
 /// ---- | ---------------
 /// () | 0
+/// bool | 1
 /// u8 | 1
 /// u16 | 2
 /// u32 | 4