about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm
diff options
context:
space:
mode:
authorShotaro Yamada <sinkuu@sinkuu.xyz>2018-10-26 03:11:11 +0900
committerShotaro Yamada <sinkuu@sinkuu.xyz>2018-10-26 12:07:39 +0900
commit3878d24ef6922c133539fe67e0c907166f6261cb (patch)
treefb2b6e405d7b06be2b586684fd857e2b7069a44f /src/librustc_codegen_llvm
parent7b0735a832dd49cb482084590eb0f2577955c079 (diff)
downloadrust-3878d24ef6922c133539fe67e0c907166f6261cb.tar.gz
rust-3878d24ef6922c133539fe67e0c907166f6261cb.zip
Remove redundant clone
Diffstat (limited to 'src/librustc_codegen_llvm')
-rw-r--r--src/librustc_codegen_llvm/base.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/base.rs b/src/librustc_codegen_llvm/base.rs
index 614a562846e..a9119d49e8b 100644
--- a/src/librustc_codegen_llvm/base.rs
+++ b/src/librustc_codegen_llvm/base.rs
@@ -784,7 +784,7 @@ pub fn codegen_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
        !tcx.sess.opts.output_types.should_codegen() {
         let ongoing_codegen = write::start_async_codegen(
             tcx,
-            time_graph.clone(),
+            time_graph,
             metadata,
             rx,
             1);