clippy: useless use of vec[]
This commit is contained in:
parent
99159dd74e
commit
48d2815c1a
|
@ -71,8 +71,8 @@ impl<E: stats::SysEvents> MassRebuildWorker<E> {
|
||||||
if darwin {
|
if darwin {
|
||||||
update_labels(
|
update_labels(
|
||||||
&issue,
|
&issue,
|
||||||
&vec![String::from("6.topic: darwin")],
|
&[String::from("6.topic: darwin")],
|
||||||
&vec![],
|
&[],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -272,16 +272,16 @@ impl<E: stats::SysEvents + 'static> worker::SimpleWorker for MassRebuildWorker<E
|
||||||
|
|
||||||
update_labels(
|
update_labels(
|
||||||
&issue,
|
&issue,
|
||||||
&vec!["2.status: merge conflict".to_owned()],
|
&["2.status: merge conflict".to_owned()],
|
||||||
&vec![],
|
&[],
|
||||||
);
|
);
|
||||||
|
|
||||||
return self.actions().skip(&job);
|
return self.actions().skip(&job);
|
||||||
} else {
|
} else {
|
||||||
update_labels(
|
update_labels(
|
||||||
&issue,
|
&issue,
|
||||||
&vec![],
|
&[],
|
||||||
&vec!["2.status: merge conflict".to_owned()],
|
&["2.status: merge conflict".to_owned()],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue