File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ impl fmt::Display for FlycheckConfig {
5151pub 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
5757impl 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.
You can’t perform that action at this time.
0 commit comments