diff options
author | Bert Belder <bertbelder@gmail.com> | 2019-04-02 02:52:09 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2019-04-02 18:04:25 +0200 |
commit | b735155712b944004ac87ba5d3be7a9baccbf53e (patch) | |
tree | 8c18f642fd2bcf931d3c5c7429264bb778fbf0bd /cli/ops.rs | |
parent | efbe44eb33bb8d19a68bc1a0889c4f2780894184 (diff) |
Clippy fixes
Diffstat (limited to 'cli/ops.rs')
-rw-r--r-- | cli/ops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/ops.rs b/cli/ops.rs index c8119771d..130a22431 100644 --- a/cli/ops.rs +++ b/cli/ops.rs @@ -1848,7 +1848,7 @@ fn op_create_worker( ) { Ok(worker) => { let mut workers_tl = parent_state.workers.lock().unwrap(); - let rid = worker.resource.rid.clone(); + let rid = worker.resource.rid; workers_tl.insert(rid, worker.shared()); let builder = &mut FlatBufferBuilder::new(); let msg_inner = msg::CreateWorkerRes::create( |