Skip to content

Commit

Permalink
Silence cargo pedantry
Browse files Browse the repository at this point in the history
  • Loading branch information
cole-h committed Apr 1, 2020
1 parent c37b652 commit f8b4798
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ofborg/src/nixenv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ impl HydraNixEnv {

let (status, stdout, stderr) = self.nix.run_stderr_stdout(cmd);
let stats = File::open(self.outpath_stats_path());
return (status, stdout, stderr, stats);

(status, stdout, stderr, stats)
}
}

Expand Down
2 changes: 1 addition & 1 deletion ofborg/src/tasks/evaluate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ impl<'a, E: stats::SysEvents + 'static> OneEval<'a, E> {
}
}

return self.actions().skip(&self.job);
self.actions().skip(&self.job)
}

fn evaluate_job(&mut self) -> Result<worker::Actions, EvalWorkerError> {
Expand Down

0 comments on commit f8b4798

Please sign in to comment.