Make the documentation for std::task::spawn_sched render correctly.
Currently each line is a separate bullet point in a list: http://static.rust-lang.org/doc/master/std/task/fn.spawn_sched.html
This commit is contained in:
parent
3ae895360c
commit
436d874410
1 changed files with 2 additions and 2 deletions
|
|
@ -488,8 +488,8 @@ pub fn spawn_with<A:Send>(arg: A, f: ~fn(v: A)) {
|
|||
|
||||
pub fn spawn_sched(mode: SchedMode, f: ~fn()) {
|
||||
/*!
|
||||
* Creates a new task on a new or existing scheduler
|
||||
|
||||
* Creates a new task on a new or existing scheduler.
|
||||
*
|
||||
* When there are no more tasks to execute the
|
||||
* scheduler terminates.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue