mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-14 11:22:55 +02:00
chore: Add suggested changes
This commit is contained in:
parent
0aff5340b5
commit
d59dde320b
@ -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 New Issue
Block a user