summaryrefslogtreecommitdiff
path: root/src/cmd.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.rs')
-rw-r--r--src/cmd.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd.rs b/src/cmd.rs
index b914ed8..6092f53 100644
--- a/src/cmd.rs
+++ b/src/cmd.rs
@@ -35,7 +35,7 @@ pub fn run_cmd(mut cmd: Command, description: &str, output: &mut Vec<u8>) -> Res
pub struct CargoCmd<'a> {
pub subcommand: &'a str,
pub args: &'a [&'a str],
- pub exercise_name: &'a str,
+ pub bin_name: &'a str,
pub description: &'a str,
/// RUSTFLAGS="-A warnings"
pub hide_warnings: bool,
@@ -65,7 +65,7 @@ impl<'a> CargoCmd<'a> {
.arg("always")
.arg("-q")
.arg("--bin")
- .arg(self.exercise_name)
+ .arg(self.bin_name)
.args(self.args);
if self.hide_warnings {