From 309b21f37861a8c6550f93e7f9b8f955a0b4b256 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 28 Jun 2020 22:31:40 +0200 Subject: Rename --- crates/flycheck/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates') diff --git a/crates/flycheck/src/lib.rs b/crates/flycheck/src/lib.rs index 9335098ff..0d68fcd4d 100644 --- a/crates/flycheck/src/lib.rs +++ b/crates/flycheck/src/lib.rs @@ -51,7 +51,7 @@ impl fmt::Display for FlycheckConfig { pub struct FlycheckHandle { // XXX: drop order is significant cmd_send: Sender, - 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::(); - 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. -- cgit v1.2.3