mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
internal: remove dead code
This commit is contained in:
parent
726a2aa211
commit
73b0f9dc04
10 changed files with 10 additions and 43 deletions
|
@ -18,7 +18,7 @@ use walkdir::WalkDir;
|
|||
pub struct NotifyHandle {
|
||||
// Relative order of fields below is significant.
|
||||
sender: Sender<Message>,
|
||||
thread: jod_thread::JoinHandle,
|
||||
_thread: jod_thread::JoinHandle,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
@ -35,7 +35,7 @@ impl loader::Handle for NotifyHandle {
|
|||
.name("VfsLoader".to_owned())
|
||||
.spawn(move || actor.run(receiver))
|
||||
.expect("failed to spawn thread");
|
||||
NotifyHandle { sender, thread }
|
||||
NotifyHandle { sender, _thread: thread }
|
||||
}
|
||||
fn set_config(&mut self, config: loader::Config) {
|
||||
self.sender.send(Message::Config(config)).unwrap()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue