Small documentation changes

I'm leaving the Sized kind undocumented since it isn't fully implemented
yet.
This commit is contained in:
Steven Fackler 2013-07-01 23:37:11 -07:00
parent 451c94343f
commit 3e265e7842
3 changed files with 2 additions and 4 deletions

View file

@ -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)

View file

@ -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