mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 16:59:12 -04:00
chore: Add suggested changes
This commit is contained in:
parent
0aff5340b5
commit
d59dde320b
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue