about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-08-13 20:46:50 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-08-15 21:12:34 -0400
commitaf9ddd7563d2eb66147a9de126453034938af46a (patch)
tree23c5e671a7d7b5802c46073b4792869a9c9bd388
parent062747b9c969d18544e4a376077499613394e757 (diff)
downloadrust-af9ddd7563d2eb66147a9de126453034938af46a.tar.gz
rust-af9ddd7563d2eb66147a9de126453034938af46a.zip
kinds: update documentation
-rw-r--r--src/libstd/kinds.rs12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/libstd/kinds.rs b/src/libstd/kinds.rs
index 6b45ddddf7e..6a48e18a3cc 100644
--- a/src/libstd/kinds.rs
+++ b/src/libstd/kinds.rs
@@ -18,27 +18,21 @@ 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 2 kinds are
-
-* Send - owned types and types containing owned types.  These types
-  may be transferred across task boundaries.
-
-* Freeze - types that are deeply immutable.
-
 */
 
-#[allow(missing_doc)];
-
+/// Types able to be transferred across task boundaries.
 #[lang="send"]
 pub trait Send {
     // empty.
 }
 
+/// Types that are either immutable or have inherited mutability.
 #[lang="freeze"]
 pub trait Freeze {
     // empty.
 }
 
+/// Types with a constant size known at compile-time.
 #[lang="sized"]
 pub trait Sized {
     // Empty.