Skip to content

Commit

Permalink
Format with rustfmt 2020-04-14
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 26, 2020
1 parent b097347 commit 0559927
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ fn cargo(project: &Project) -> Command {
}

pub fn build_dependencies(project: &Project) -> Result<()> {
let _ = cargo(project)
.arg("generate-lockfile")
.status();
let _ = cargo(project).arg("generate-lockfile").status();

let status = cargo(project)
.arg(if project.has_pass { "build" } else { "check" })
Expand Down

0 comments on commit 0559927

Please sign in to comment.