summaryrefslogtreecommitdiff
path: root/src/dev.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-25 15:58:46 +0200
committermo8it <mo8it@proton.me>2024-04-25 15:58:46 +0200
commitc51f1b3f31478f8c82acbd83e9ae873e29159c5f (patch)
tree4f310d682d7bdbf8206746a9fedce486555ee6f6 /src/dev.rs
parent8bf8b19a5dd4278a636a56440736c8f3df52b7a5 (diff)
Thanks Clippy :D
Diffstat (limited to 'src/dev.rs')
-rw-r--r--src/dev.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dev.rs b/src/dev.rs
index 38338cd..737de0d 100644
--- a/src/dev.rs
+++ b/src/dev.rs
@@ -28,15 +28,15 @@ pub enum DevCommands {
impl DevCommands {
pub fn run(self) -> Result<()> {
match self {
- DevCommands::New { path, no_git } => {
+ Self::New { path, no_git } => {
if DEBUG_PROFILE {
bail!("Disabled in the debug build");
}
new::new(&path, no_git).context(INIT_ERR)
}
- DevCommands::Check => check::check(),
- DevCommands::Update => update::update(),
+ Self::Check => check::check(),
+ Self::Update => update::update(),
}
}
}