aboutsummaryrefslogtreecommitdiff
path: root/mling/src/project_installer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mling/src/project_installer.rs')
-rw-r--r--mling/src/project_installer.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/mling/src/project_installer.rs b/mling/src/project_installer.rs
index 5c21462..2e9ca8d 100644
--- a/mling/src/project_installer.rs
+++ b/mling/src/project_installer.rs
@@ -44,9 +44,7 @@ pub fn install_this_project(
.current_dir(workspace_root)
.status()?;
if !status.success() {
- return Err(std::io::Error::other(
- "exec `cargo clean` failed",
- ));
+ return Err(std::io::Error::other("exec `cargo clean` failed"));
}
}
@@ -56,9 +54,7 @@ pub fn install_this_project(
.current_dir(workspace_root)
.status()?;
if !status.success() {
- return Err(std::io::Error::other(
- "cargo build --release failed",
- ));
+ return Err(std::io::Error::other("cargo build --release failed"));
}
// Parse package.name from workspace_root's Cargo.toml as namespace