mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
internal: remove dead code
This commit is contained in:
parent
726a2aa211
commit
73b0f9dc04
10 changed files with 10 additions and 43 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue