unrelated changes with rustfmt

This commit is contained in:
Graham Christensen 2018-01-31 09:29:57 -05:00
parent 26e0612d5e
commit b47704d6e4
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -58,10 +58,9 @@ impl worker::SimpleWorker for GitHubCommentWorker {
if self.acl.can_build_unrestricted(
&job.comment.user.login,
&job.repository.full_name,
) {
build_destinations = vec![
(Some("build-jobs".to_owned()), None)
];
)
{
build_destinations = vec![(Some("build-jobs".to_owned()), None)];
} else if self.acl.can_build_restricted(
&job.comment.user.login,
&job.repository.full_name,
@ -140,11 +139,7 @@ impl worker::SimpleWorker for GitHubCommentWorker {
};
for (exch, rk) in build_destinations.clone() {
response.push(worker::publish_serde_action(
exch,
rk,
&msg,
));
response.push(worker::publish_serde_action(exch, rk, &msg));
}
}
commentparser::Instruction::Eval => {