summaryrefslogtreecommitdiff
path: root/src/dev.rs
diff options
context:
space:
mode:
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(),
}
}
}