Skip to content

Commit 0e94ae4

Browse files
committed
Fix some docs in std::rt::task
1 parent 6708558 commit 0e94ae4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/libstd/rt/task.rs

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -39,12 +39,11 @@ use sync::atomics::{AtomicUint, SeqCst};
3939
use task::{TaskResult, TaskOpts};
4040
use unstable::finally::Finally;
4141

42-
// The Task struct represents all state associated with a rust
43-
// task. There are at this point two primary "subtypes" of task,
44-
// however instead of using a subtype we just have a "task_type" field
45-
// in the struct. This contains a pointer to another struct that holds
46-
// the type-specific state.
47-
42+
/// The Task struct represents all state associated with a rust
43+
/// task. There are at this point two primary "subtypes" of task,
44+
/// however instead of using a subtype we just have a "task_type" field
45+
/// in the struct. This contains a pointer to another struct that holds
46+
/// the type-specific state.
4847
pub struct Task {
4948
heap: LocalHeap,
5049
gc: GarbageCollector,

0 commit comments

Comments
 (0)