From af9ddd7563d2eb66147a9de126453034938af46a Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 13 Aug 2013 20:46:50 -0400 Subject: [PATCH] kinds: update documentation --- src/libstd/kinds.rs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/libstd/kinds.rs b/src/libstd/kinds.rs index 6b45ddddf7e9..6a48e18a3cc2 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.