summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-08 00:36:26 +0200
committermo8it <mo8it@proton.me>2024-04-08 00:36:26 +0200
commit25e855a009c47d30bfa4da93a93d8390df20fe45 (patch)
treef0451dce4ebbdffd04c698021e17b65cd8222459 /src/main.rs
parentc2501ae733f27cf3d9f14cf1b14e437c8675d80c (diff)
Merge imports
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)]