about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-19 17:17:00 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-19 17:17:19 -0700
commit7bf0aa1c4367fd6904f68457233c360dafb27a93 (patch)
tree939dd0e914f30ab034b4097e1bd3d5f2fe189892 /src/libcore
parentcfed923600e2f7ad34241501200d595abccdeb54 (diff)
downloadrust-7bf0aa1c4367fd6904f68457233c360dafb27a93.tar.gz
rust-7bf0aa1c4367fd6904f68457233c360dafb27a93.zip
core: More doc cleanup
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/core.rc14
-rw-r--r--src/libcore/task.rs6
2 files changed, 10 insertions, 10 deletions
diff --git a/src/libcore/core.rc b/src/libcore/core.rc
index 96d8db5a1e2..09677084257 100644
--- a/src/libcore/core.rc
+++ b/src/libcore/core.rc
@@ -10,12 +10,14 @@ used features.
 `core` includes modules corresponding to each of the integer types, each of
 the floating point types, the `bool` type, tuples, characters, strings,
 vectors (`vec`), shared boxes (`box`), and unsafe and borrowed pointers
-(`ptr`).  Additionally, `core` provides very commonly used built-in types
-and operations, concurrency primitives, platform abstractions, I/O, and
-complete bindings to the C standard library.
-
-`core` is linked to all crates and its contents imported.  Implicitly, all
-crates behave as if they included the following prologue:
+(`ptr`).  Additionally, `core` provides task management and creation (`task`),
+communication primitives (`comm` and `pipes`), an efficient vector builder
+(`dvec`), platform abstractions (`os` and `path`), basic I/O abstractions
+(`io`), common traits (`cmp`, `num`, `to_str`), and complete bindings
+to the C standard library (`libc`).
+
+`core` is linked to all crates by default and its contents imported.
+Implicitly, all crates behave as if they included the following prologue:
 
     extern mod core;
     use core::*;
diff --git a/src/libcore/task.rs b/src/libcore/task.rs
index 021f595cb32..fbac2328964 100644
--- a/src/libcore/task.rs
+++ b/src/libcore/task.rs
@@ -82,8 +82,6 @@ macro_rules! move_it (
     { $x:expr } => { unsafe { let y <- *ptr::addr_of($x); move y } }
 )
 
-/* Data types */
-
 /// A handle to a task
 enum Task {
     TaskHandle(task_id)
@@ -800,7 +798,7 @@ unsafe fn atomically<U>(f: fn() -> U) -> U {
     f()
 }
 
-/****************************************************************************
+/* **************************************************************************
  * Spawning & linked failure
  *
  * Several data structures are involved in task management to allow properly
@@ -1431,7 +1429,7 @@ fn spawn_raw(+opts: TaskOpts, +f: fn~()) {
     }
 }
 
-/****************************************************************************
+/* **************************************************************************
  * Task local data management
  *
  * Allows storing boxes with arbitrary types inside, to be accessed anywhere