diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-19 16:52:32 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-19 16:52:59 -0700 |
| commit | c115b822384501e2814da70fdcb9e22f035a994b (patch) | |
| tree | b5fc9a880072250dbb88cf5d9af45ba5285f9e75 /src/libcore/util.rs | |
| parent | 5e417395620f6d6ce45761d9ea72376c792ef60a (diff) | |
| download | rust-c115b822384501e2814da70fdcb9e22f035a994b.tar.gz rust-c115b822384501e2814da70fdcb9e22f035a994b.zip | |
core: Clean up crate docs and give all mods a brief description
Diffstat (limited to 'src/libcore/util.rs')
| -rw-r--r-- | src/libcore/util.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libcore/util.rs b/src/libcore/util.rs index 39589419beb..e27a3cdb18d 100644 --- a/src/libcore/util.rs +++ b/src/libcore/util.rs @@ -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 } |
