summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs
index 3f10a8b..cba525a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,9 +1,6 @@
use anyhow::{bail, Context, Result};
use clap::{Parser, Subcommand};
-use state_file::StateFile;
-use std::path::Path;
-use std::process::exit;
-use verify::VerifyState;
+use std::{path::Path, process::exit};
mod consts;
mod embedded;
@@ -15,10 +12,13 @@ mod state_file;
mod verify;
mod watch;
-use crate::consts::WELCOME;
-use crate::exercise::{Exercise, InfoFile};
-use crate::run::run;
-use crate::verify::verify;
+use self::{
+ consts::WELCOME,
+ exercise::{Exercise, InfoFile},
+ run::run,
+ state_file::StateFile,
+ verify::{verify, VerifyState},
+};
/// Rustlings is a collection of small exercises to get you used to writing and reading Rust code
#[derive(Parser)]