unrelated changes with rustfmt
This commit is contained in:
parent
26e0612d5e
commit
b47704d6e4
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue