diff --git a/Cargo.lock b/Cargo.lock index 7ad7ff3..aa03e8f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -190,7 +190,7 @@ dependencies = [ [[package]] name = "just" -version = "0.3.12" +version = "0.3.13" dependencies = [ "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "assert_matches 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 14fbbb3..f316993 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "just" -version = "0.3.12" +version = "0.3.13" description = "🤖 Just a command runner" authors = ["Casey Rodarmor "] license = "CC0-1.0" diff --git a/src/runtime_error.rs b/src/runtime_error.rs index 277f4e4..ac982a2 100644 --- a/src/runtime_error.rs +++ b/src/runtime_error.rs @@ -23,7 +23,13 @@ fn write_token_error_context(f: &mut fmt::Formatter, token: &Token) -> Result<() #[derive(Debug)] pub enum RuntimeError<'a> { - ArgumentCountMismatch{recipe: &'a str, parameters: Vec<&'a Parameter<'a>>, found: usize, min: usize, max: usize}, + ArgumentCountMismatch{ + recipe: &'a str, + parameters: Vec<&'a Parameter<'a>>, + found: usize, + min: usize, + max: usize, + }, Backtick{token: Token<'a>, output_error: OutputError}, Code{recipe: &'a str, line_number: Option, code: i32}, Cygpath{recipe: &'a str, output_error: OutputError},