Skip to content

Commit 309b21f

Browse files
committed
Rename
1 parent 80ef52f commit 309b21f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/flycheck/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl fmt::Display for FlycheckConfig {
5151
pub struct FlycheckHandle {
5252
// XXX: drop order is significant
5353
cmd_send: Sender<Restart>,
54-
handle: jod_thread::JoinHandle,
54+
thread: jod_thread::JoinHandle,
5555
}
5656

5757
impl FlycheckHandle {
@@ -61,10 +61,10 @@ impl FlycheckHandle {
6161
workspace_root: PathBuf,
6262
) -> FlycheckHandle {
6363
let (cmd_send, cmd_recv) = unbounded::<Restart>();
64-
let handle = jod_thread::spawn(move || {
64+
let thread = jod_thread::spawn(move || {
6565
FlycheckActor::new(sender, config, workspace_root).run(cmd_recv);
6666
});
67-
FlycheckHandle { cmd_send, handle }
67+
FlycheckHandle { cmd_send, thread }
6868
}
6969

7070
/// Schedule a re-start of the cargo check worker.

0 commit comments

Comments
 (0)