diff options
| author | Mario Reder <mreder1289@gmail.com> | 2020-02-14 15:25:03 +0100 |
|---|---|---|
| committer | Mario Reder <mreder1289@gmail.com> | 2020-02-26 14:07:07 +0100 |
| commit | 1e2fd9c92f8cd6e389525ca1a999fca4c90b5921 (patch) | |
| tree | aace341dbef4b15e37ddf260d6be857a11cca104 /src/run.rs | |
| parent | 7e8530b21ff355c9b52e07eb3ba25278746a6932 (diff) | |
feat: Add clippy lints
- adds a new 'clippy' category for exercises
- clippy exercises should throw no warnings
- install script now also installs clippy
is related to https://github.com/rust-lang/rust-clippy/issues/2604
Diffstat (limited to 'src/run.rs')
| -rw-r--r-- | src/run.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6,6 +6,7 @@ pub fn run(exercise: &Exercise) -> Result<(), ()> { match exercise.mode { Mode::Test => test(exercise)?, Mode::Compile => compile_and_run(exercise)?, + Mode::Clippy => compile_and_run(exercise)?, } Ok(()) } |
