Skip to content

Commit

Permalink
auto merge of #11571 : derekchiang/rust/fix-task-docs, r=alexcrichton
Browse files Browse the repository at this point in the history
There might be a reason, but I failed to see why these comments couldn't be proper rust docs.
  • Loading branch information
bors committed Jan 16, 2014
2 parents 9434e7c + 0e94ae4 commit 6141662
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/libstd/rt/task.rs
Original file line number Diff line number Diff line change
@@ -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.
//
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 6141662

Please sign in to comment.