From 8f3fdf33155449f2d6d35f3f05099a59b259bd42 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 21 Jul 2020 10:50:24 +0200 Subject: Typo --- crates/flycheck/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/flycheck') 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::{ pub enum FlycheckConfig { CargoCommand { command: String, - target_tripple: Option, + target_triple: Option, all_targets: bool, all_features: bool, features: Vec, @@ -179,7 +179,7 @@ impl FlycheckActor { let mut cmd = match &self.config { FlycheckConfig::CargoCommand { command, - target_tripple, + target_triple, all_targets, all_features, extra_args, @@ -190,7 +190,7 @@ impl FlycheckActor { cmd.args(&["--workspace", "--message-format=json", "--manifest-path"]) .arg(self.workspace_root.join("Cargo.toml")); - if let Some(target) = target_tripple { + if let Some(target) = target_triple { cmd.args(&["--target", target.as_str()]); } if *all_targets { -- cgit v1.2.3