chore: Add suggested changes

This commit is contained in:
magnusrodseth 2022-08-18 12:47:26 +02:00
parent 0aff5340b5
commit d59dde320b
1 changed files with 3 additions and 6 deletions

View File

@ -1,10 +1,7 @@
use crate::exercise::{Exercise, ExerciseList};
use crate::project::RustAnalyzerProject; use crate::project::RustAnalyzerProject;
use crate::run::run; use crate::run::{reset, run};
use crate::verify::verify; use crate::verify::verify;
use crate::{
exercise::{Exercise, ExerciseList},
run::reset,
};
use argh::FromArgs; use argh::FromArgs;
use console::Emoji; use console::Emoji;
use notify::DebouncedEvent; use notify::DebouncedEvent;
@ -77,7 +74,7 @@ struct RunArgs {
#[derive(FromArgs, PartialEq, Debug)] #[derive(FromArgs, PartialEq, Debug)]
#[argh(subcommand, name = "reset")] #[argh(subcommand, name = "reset")]
/// Resets a single exercise /// Resets a single exercise using "git stash -- <filename>"
struct ResetArgs { struct ResetArgs {
#[argh(positional)] #[argh(positional)]
/// the name of the exercise /// the name of the exercise