diff options
| author | bors <bors@rust-lang.org> | 2014-01-16 11:26:40 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-01-16 11:26:40 -0800 |
| commit | 61416626acb53143f1b6856cbc0fcbfd9f9b59a8 (patch) | |
| tree | 917a8f096c0647e0682f19ab95b842bcbfe7a6df /src/libstd | |
| parent | 9434e7c6cb658367d91eb8aae5fac6a5c8b5f769 (diff) | |
| parent | 0e94ae4d8a4d6aa103bca4e48885538f478c56b5 (diff) | |
| download | rust-61416626acb53143f1b6856cbc0fcbfd9f9b59a8.tar.gz rust-61416626acb53143f1b6856cbc0fcbfd9f9b59a8.zip | |
auto merge of #11571 : derekchiang/rust/fix-task-docs, r=alexcrichton
There might be a reason, but I failed to see why these comments couldn't be proper rust docs.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/rt/task.rs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs index b4ead4252ca..4df626446c4 100644 --- a/src/libstd/rt/task.rs +++ b/src/libstd/rt/task.rs @@ -1,4 +1,4 @@ -// Copyright 2013 The Rust Project Developers. See the COPYRIGHT +// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -39,12 +39,11 @@ use sync::atomics::{AtomicUint, SeqCst}; use task::{TaskResult, TaskOpts}; use unstable::finally::Finally; -// The Task struct represents all state associated with a rust -// task. There are at this point two primary "subtypes" of task, -// however instead of using a subtype we just have a "task_type" field -// in the struct. This contains a pointer to another struct that holds -// the type-specific state. - +/// The Task struct represents all state associated with a rust +/// task. There are at this point two primary "subtypes" of task, +/// however instead of using a subtype we just have a "task_type" field +/// in the struct. This contains a pointer to another struct that holds +/// the type-specific state. pub struct Task { heap: LocalHeap, gc: GarbageCollector, |
