Skip to content

Commit 436d874

Browse files
committed
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
1 parent 3ae8953 commit 436d874

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/task/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ pub fn spawn_with<A:Send>(arg: A, f: ~fn(v: A)) {
488488

489489
pub fn spawn_sched(mode: SchedMode, f: ~fn()) {
490490
/*!
491-
* Creates a new task on a new or existing scheduler
492-
491+
* Creates a new task on a new or existing scheduler.
492+
*
493493
* When there are no more tasks to execute the
494494
* scheduler terminates.
495495
*

0 commit comments

Comments
 (0)