1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-04 03:39:45 +01:00

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
This commit is contained in:
markgreene74 2023-10-16 22:41:34 +01:00
parent 33220c5109
commit 3c4fde4610

@ -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]