cargo clippy fix

This commit is contained in:
rmanach
2023-04-22 15:29:55 +02:00
parent 0f5f8a3ec0
commit b82d968e49
3 changed files with 15 additions and 18 deletions
+6 -6
View File
@@ -50,12 +50,12 @@ impl<H: Handler, N: Notifier> Worker<H, N> {
notifier: Arc<N>,
) -> Self {
Self {
id: id,
manager: manager,
queue: queue,
id,
manager,
queue,
status: Arc::new(Mutex::new(WorkerStatus::Pending)),
shared_handler: shared_handler,
notifier: notifier,
shared_handler,
notifier,
}
}
@@ -153,7 +153,7 @@ impl<H: Handler, N: Notifier> Manager<H, N> {
status: ManagerStatus::Down,
queue: Arc::new(Queue::new()),
shared_handler: Arc::new(shared_handler),
notifier: notifier,
notifier,
}
}