Skip to content

Commit

Permalink
Fix a couple clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Dec 30, 2019
1 parent efec602 commit da30f57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/compilers/ts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ pub fn runtime_compile_async<S: BuildHasher>(
.into_boxed_str()
.into_boxed_bytes();

let worker = TsCompiler::setup_worker(global_state.clone());
let worker = TsCompiler::setup_worker(global_state);
let worker_ = worker.clone();

async move {
Expand Down Expand Up @@ -654,7 +654,7 @@ pub fn runtime_transpile_async<S: BuildHasher>(
.into_boxed_str()
.into_boxed_bytes();

let worker = TsCompiler::setup_worker(global_state.clone());
let worker = TsCompiler::setup_worker(global_state);
let worker_ = worker.clone();

async move {
Expand Down

0 comments on commit da30f57

Please sign in to comment.