summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-07-17 19:25:45 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-07-17 19:32:11 +0200
commit7f9d909ccca6efd12b137f2253ede01b081d32d6 (patch)
treeb7ce9951eed5018ac540002d654331060c623bc1
parent3d5708e003564ebfef57da2521ac33b8fe8a49a2 (diff)
Prefix unused variables with underscore
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--ui/src/workers.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/src/workers.rs b/ui/src/workers.rs
index f4b71afa..8f9d0443 100644
--- a/ui/src/workers.rs
+++ b/ui/src/workers.rs
@@ -8,9 +8,9 @@ const MAX_WORKER: usize = 4;
pub struct WorkController {
pub queue: WorkQueue<Work>,
- thread_end_tx: chan::Sender<bool>,
+ _thread_end_tx: chan::Sender<bool>,
results: Option<chan::Receiver<bool>>,
- threads: Vec<std::thread::JoinHandle<()>>,
+ _threads: Vec<std::thread::JoinHandle<()>>,
}
impl WorkController {
@@ -223,9 +223,9 @@ impl WorkController {
WorkController {
queue,
- thread_end_tx,
+ _thread_end_tx: thread_end_tx,
results: Some(results_rx),
- threads,
+ _threads: threads,
}
}
}