diff options
| author | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-11 19:56:10 +0800 |
|---|---|---|
| committer | Weicao-CatilGrass <1992414357@qq.com> | 2026-05-11 19:56:10 +0800 |
| commit | e42567b25093907cfd939edc92ace94a5d59b398 (patch) | |
| tree | f2514fdd18277b5620b0fd6512cfc95569cfce15 /mling/src | |
| parent | 99d5a62aa3655f8676021a9bf70af3d12c9457bc (diff) | |
Add `builds` feature and install completion scripts
Diffstat (limited to 'mling/src')
| -rw-r--r-- | mling/src/project_installer.rs | 8 |
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 |
