about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2013-07-01 23:37:11 -0700
committerSteven Fackler <sfackler@gmail.com>2013-07-01 23:37:11 -0700
commit3e265e784225a6f74c21dd3cc8cc0a28947dddba (patch)
tree6e59ca861a108b77ae0bc908d484d328814b1822 /src/libstd
parent451c94343f2c49cfcc790816fd8587bfdc7ecfb8 (diff)
downloadrust-3e265e784225a6f74c21dd3cc8cc0a28947dddba.tar.gz
rust-3e265e784225a6f74c21dd3cc8cc0a28947dddba.zip
Small documentation changes
I'm leaving the Sized kind undocumented since it isn't fully implemented
yet.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/bool.rs1
-rw-r--r--src/libstd/kinds.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/bool.rs b/src/libstd/bool.rs
index e6be164099b..b0b586df4b5 100644
--- a/src/libstd/bool.rs
+++ b/src/libstd/bool.rs
@@ -122,6 +122,7 @@ pub fn xor(a: bool, b: bool) -> bool { (a && !b) || (!a && b) }
 * ~~~ {.rust}
 * rusti> std::bool::implies(true, true)
 * true
+* ~~~
 *
 * ~~~ {.rust}
 * rusti> std::bool::implies(true, false)
diff --git a/src/libstd/kinds.rs b/src/libstd/kinds.rs
index f350e106168..6c16ecc0d4e 100644
--- a/src/libstd/kinds.rs
+++ b/src/libstd/kinds.rs
@@ -18,7 +18,7 @@ intrinsic properties of the type. These classifications, often called
 They cannot be implemented by user code, but are instead implemented
 by the compiler automatically for the types to which they apply.
 
-The 4 kinds are
+The 3 kinds are
 
 * Copy - types that may be copied without allocation. This includes
   scalar types and managed pointers, and exludes owned pointers. It