summaryrefslogtreecommitdiff
path: root/src/exercise.rs
diff options
context:
space:
mode:
authormarkgreene74 <markgreene74@users.noreply.github.com>2023-10-16 22:41:34 +0100
committermarkgreene74 <markgreene74@users.noreply.github.com>2023-10-16 22:41:34 +0100
commit3c4fde46106efab749ab9af9fe76f5e75779ef5d (patch)
tree4d46815ab2c1ecb09f801c21d8ef0a216435058f /src/exercise.rs
parent33220c5109d583b55dbb1012a143156826909399 (diff)
fix(watch): update the CLIPPY_CARGO_TOML_PATH
... to reflect the changes to the exercise directory names. The path exercises/clippy replaced with exercises/22_clippy. closes #1726
Diffstat (limited to 'src/exercise.rs')
-rw-r--r--src/exercise.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exercise.rs b/src/exercise.rs
index c7b5672..664b362 100644
--- a/src/exercise.rs
+++ b/src/exercise.rs
@@ -12,7 +12,7 @@ const RUSTC_EDITION_ARGS: &[&str] = &["--edition", "2021"];
const RUSTC_NO_DEBUG_ARGS: &[&str] = &["-C", "strip=debuginfo"];
const I_AM_DONE_REGEX: &str = r"(?m)^\s*///?\s*I\s+AM\s+NOT\s+DONE";
const CONTEXT: usize = 2;
-const CLIPPY_CARGO_TOML_PATH: &str = "./exercises/clippy/Cargo.toml";
+const CLIPPY_CARGO_TOML_PATH: &str = "./exercises/22_clippy/Cargo.toml";
// Get a temporary file name that is hopefully unique
#[inline]