internal: remove dead code

This commit is contained in:
Aleksey Kladov 2021-09-15 21:22:06 +03:00
parent 726a2aa211
commit 73b0f9dc04
10 changed files with 10 additions and 43 deletions

View file

@ -55,7 +55,7 @@ impl fmt::Display for FlycheckConfig {
pub struct FlycheckHandle {
// XXX: drop order is significant
sender: Sender<Restart>,
thread: jod_thread::JoinHandle,
_thread: jod_thread::JoinHandle,
}
impl FlycheckHandle {
@ -71,7 +71,7 @@ impl FlycheckHandle {
.name("Flycheck".to_owned())
.spawn(move || actor.run(receiver))
.expect("failed to spawn thread");
FlycheckHandle { sender, thread }
FlycheckHandle { sender, _thread: thread }
}
/// Schedule a re-start of the cargo check worker.