diff options
Diffstat (limited to 'crates/ra_flycheck')
-rw-r--r-- | crates/ra_flycheck/src/lib.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/crates/ra_flycheck/src/lib.rs b/crates/ra_flycheck/src/lib.rs index f3d6f8f5f..b54a30ab8 100644 --- a/crates/ra_flycheck/src/lib.rs +++ b/crates/ra_flycheck/src/lib.rs | |||
@@ -28,16 +28,6 @@ pub enum FlycheckConfig { | |||
28 | CustomCommand { command: String, args: Vec<String> }, | 28 | CustomCommand { command: String, args: Vec<String> }, |
29 | } | 29 | } |
30 | 30 | ||
31 | impl Default for FlycheckConfig { | ||
32 | fn default() -> Self { | ||
33 | FlycheckConfig::CargoCommand { | ||
34 | command: "check".to_string(), | ||
35 | all_targets: true, | ||
36 | extra_args: Vec::new(), | ||
37 | } | ||
38 | } | ||
39 | } | ||
40 | |||
41 | /// Flycheck wraps the shared state and communication machinery used for | 31 | /// Flycheck wraps the shared state and communication machinery used for |
42 | /// running `cargo check` (or other compatible command) and providing | 32 | /// running `cargo check` (or other compatible command) and providing |
43 | /// diagnostics based on the output. | 33 | /// diagnostics based on the output. |