diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-21 09:50:47 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-21 09:50:47 +0100 |
commit | 2ad5bf8d17389e6711be65200ef918762eba9fdc (patch) | |
tree | 8a84cbc26f0c1013f627357dcd8f9e0ae310e8fe /crates/flycheck/src | |
parent | 99b8140d91c9da82f3de0c2522111ee82b7ed280 (diff) | |
parent | 8f3fdf33155449f2d6d35f3f05099a59b259bd42 (diff) |
Merge #5471
5471: Typo r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/flycheck/src')
-rw-r--r-- | crates/flycheck/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/flycheck/src/lib.rs b/crates/flycheck/src/lib.rs index 6e06adaa5..ad376ad18 100644 --- a/crates/flycheck/src/lib.rs +++ b/crates/flycheck/src/lib.rs | |||
@@ -22,7 +22,7 @@ pub use cargo_metadata::diagnostic::{ | |||
22 | pub enum FlycheckConfig { | 22 | pub enum FlycheckConfig { |
23 | CargoCommand { | 23 | CargoCommand { |
24 | command: String, | 24 | command: String, |
25 | target_tripple: Option<String>, | 25 | target_triple: Option<String>, |
26 | all_targets: bool, | 26 | all_targets: bool, |
27 | all_features: bool, | 27 | all_features: bool, |
28 | features: Vec<String>, | 28 | features: Vec<String>, |
@@ -179,7 +179,7 @@ impl FlycheckActor { | |||
179 | let mut cmd = match &self.config { | 179 | let mut cmd = match &self.config { |
180 | FlycheckConfig::CargoCommand { | 180 | FlycheckConfig::CargoCommand { |
181 | command, | 181 | command, |
182 | target_tripple, | 182 | target_triple, |
183 | all_targets, | 183 | all_targets, |
184 | all_features, | 184 | all_features, |
185 | extra_args, | 185 | extra_args, |
@@ -190,7 +190,7 @@ impl FlycheckActor { | |||
190 | cmd.args(&["--workspace", "--message-format=json", "--manifest-path"]) | 190 | cmd.args(&["--workspace", "--message-format=json", "--manifest-path"]) |
191 | .arg(self.workspace_root.join("Cargo.toml")); | 191 | .arg(self.workspace_root.join("Cargo.toml")); |
192 | 192 | ||
193 | if let Some(target) = target_tripple { | 193 | if let Some(target) = target_triple { |
194 | cmd.args(&["--target", target.as_str()]); | 194 | cmd.args(&["--target", target.as_str()]); |
195 | } | 195 | } |
196 | if *all_targets { | 196 | if *all_targets { |