Skip to content

Commit e52ae86

Browse files
committed
fix: clippy
1 parent 90f0e9b commit e52ae86

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/cargo.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ pub struct Artifact {
1414
pub executable: PathBuf,
1515
}
1616

17-
/// Execute cargo with the given arguments and from the specified directory.
18-
pub fn run(args: &[String], cwd: &Path) -> Result<()> {
19-
run_with_env::<[(&str, &str); 0], _, _>(args, cwd, [], false)?;
20-
Ok(())
21-
}
22-
2317
/// Execute cargo with the given arguments and from the specified directory.
2418
pub fn run_with_env<I, K, V>(args: &[String], cwd: &Path, envs: I, capture: bool) -> Result<String>
2519
where

0 commit comments

Comments
 (0)