mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 05:08:52 +00:00
Rename
This commit is contained in:
parent
80ef52f0d5
commit
309b21f378
1 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ impl fmt::Display for FlycheckConfig {
|
|||
pub struct FlycheckHandle {
|
||||
// XXX: drop order is significant
|
||||
cmd_send: Sender<Restart>,
|
||||
handle: jod_thread::JoinHandle,
|
||||
thread: jod_thread::JoinHandle,
|
||||
}
|
||||
|
||||
impl FlycheckHandle {
|
||||
|
@ -61,10 +61,10 @@ impl FlycheckHandle {
|
|||
workspace_root: PathBuf,
|
||||
) -> FlycheckHandle {
|
||||
let (cmd_send, cmd_recv) = unbounded::<Restart>();
|
||||
let handle = jod_thread::spawn(move || {
|
||||
let thread = jod_thread::spawn(move || {
|
||||
FlycheckActor::new(sender, config, workspace_root).run(cmd_recv);
|
||||
});
|
||||
FlycheckHandle { cmd_send, handle }
|
||||
FlycheckHandle { cmd_send, thread }
|
||||
}
|
||||
|
||||
/// Schedule a re-start of the cargo check worker.
|
||||
|
|
Loading…
Reference in a new issue