diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-01-31 20:24:03 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-02-01 00:00:17 -0800 |
| commit | 63c16e9e79839ba767e2a8c7172d9a330c782600 (patch) | |
| tree | 5cd74767ca9a1e5f959f968d21ba4f2df24ba347 /src/librustdoc/rustdoc.rc | |
| parent | e343abd0ed11227425eca16e186367eced39cd82 (diff) | |
| download | rust-63c16e9e79839ba767e2a8c7172d9a330c782600.tar.gz rust-63c16e9e79839ba767e2a8c7172d9a330c782600.zip | |
rustdoc: Convert astsrv to pipes
Diffstat (limited to 'src/librustdoc/rustdoc.rc')
| -rw-r--r-- | src/librustdoc/rustdoc.rc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/rustdoc.rc b/src/librustdoc/rustdoc.rc index ab17d829c69..b3e9c43e87a 100644 --- a/src/librustdoc/rustdoc.rc +++ b/src/librustdoc/rustdoc.rc @@ -94,14 +94,14 @@ fn run(config: Config) { // Just time how long it takes for the AST to become available do time(~"wait_ast") { - do astsrv::exec(srv) |_ctxt| { } + do astsrv::exec(srv.clone()) |_ctxt| { } }; // Extract the initial doc tree from the AST. This contains // just names and node ids. let doc = time(~"extract", || { let default_name = copy source_file; - extract::from_srv(srv, default_name.to_str()) + extract::from_srv(srv.clone(), default_name.to_str()) }); // Refine and publish the document |
