core: Clean up crate docs and give all mods a brief description

This commit is contained in:
Brian Anderson
2012-09-19 16:52:32 -07:00
parent 5e41739562
commit c115b82238
23 changed files with 156 additions and 76 deletions

View File

@@ -1,13 +1,15 @@
/*!
Miscellaneous helpers for common patterns.
*/
// NB: transitionary, de-mode-ing.
#[forbid(deprecated_mode)];
#[forbid(deprecated_pattern)];
use cmp::Eq;
/**
* Miscellaneous helpers for common patterns.
*/
/// The identity function.
#[inline(always)]
pure fn id<T>(+x: T) -> T { move x }