Skip to content

Commit

Permalink
Merge pull request #199 from tkrs/remove-unnecessary-clone
Browse files Browse the repository at this point in the history
refactor: remove unnecessary clone
  • Loading branch information
tkrs authored Aug 12, 2024
2 parents cb2b74b + d8a4756 commit c349fc2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,7 @@ mod tests {
..Default::default()
};
let (_, receiver) = unbounded();
let ret = Worker::create(
addr.clone(),
settings,
receiver,
Duration::from_millis(1),
1,
);
let ret = Worker::create(addr, settings, receiver, Duration::from_millis(1), 1);
assert!(ret.is_err())
}

Expand Down

0 comments on commit c349fc2

Please sign in to comment.