about summary refs log tree commit diff
path: root/src/librustdoc/rustdoc.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustdoc/rustdoc.rc')
-rw-r--r--src/librustdoc/rustdoc.rc4
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