rustdoc: Parallelize markdown_pass

This commit is contained in:
Brian Anderson 2012-03-06 15:01:40 -08:00
parent 513d956dce
commit 801b02b25d

View File

@ -82,12 +82,12 @@ fn write_markdown(
doc: doc::doc,
writer_factory: writer_factory
) {
for page in doc.pages {
par::anymap(doc.pages) {|page|
let ctxt = {
w: writer_factory(page)
};
write_page(ctxt, page);
}
write_page(ctxt, page)
};
}
fn write_page(ctxt: ctxt, page: doc::page) {