diff options
Diffstat (limited to 'crates/ra_flycheck')
-rw-r--r-- | crates/ra_flycheck/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ra_flycheck/src/lib.rs b/crates/ra_flycheck/src/lib.rs index f6f9171ad..b6bb9da4b 100644 --- a/crates/ra_flycheck/src/lib.rs +++ b/crates/ra_flycheck/src/lib.rs | |||
@@ -24,7 +24,6 @@ pub use crate::conv::url_from_path_with_drive_lowercasing; | |||
24 | 24 | ||
25 | #[derive(Clone, Debug)] | 25 | #[derive(Clone, Debug)] |
26 | pub struct CheckConfig { | 26 | pub struct CheckConfig { |
27 | pub enable: bool, | ||
28 | pub args: Vec<String>, | 27 | pub args: Vec<String>, |
29 | pub command: String, | 28 | pub command: String, |
30 | pub all_targets: bool, | 29 | pub all_targets: bool, |
@@ -216,9 +215,6 @@ impl CheckWatcherThread { | |||
216 | // First, clear and cancel the old thread | 215 | // First, clear and cancel the old thread |
217 | self.message_recv = never(); | 216 | self.message_recv = never(); |
218 | self.check_process = None; | 217 | self.check_process = None; |
219 | if !self.options.enable { | ||
220 | return; | ||
221 | } | ||
222 | 218 | ||
223 | let mut args: Vec<String> = vec![ | 219 | let mut args: Vec<String> = vec![ |
224 | self.options.command.clone(), | 220 | self.options.command.clone(), |