diff options
| author | mo8it <mo8it@proton.me> | 2024-04-08 00:36:26 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-08 00:36:26 +0200 |
| commit | 25e855a009c47d30bfa4da93a93d8390df20fe45 (patch) | |
| tree | f0451dce4ebbdffd04c698021e17b65cd8222459 /src/main.rs | |
| parent | c2501ae733f27cf3d9f14cf1b14e437c8675d80c (diff) | |
Merge imports
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 16 |
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)] |
