From 48d2815c1acab9a624ebb372047609d7ccad3a08 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 2 Jan 2019 17:37:17 -0500 Subject: [PATCH] clippy: useless use of vec[] --- ofborg/src/tasks/massrebuilder.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ofborg/src/tasks/massrebuilder.rs b/ofborg/src/tasks/massrebuilder.rs index f99090b..1295b01 100644 --- a/ofborg/src/tasks/massrebuilder.rs +++ b/ofborg/src/tasks/massrebuilder.rs @@ -71,8 +71,8 @@ impl MassRebuildWorker { if darwin { update_labels( &issue, - &vec![String::from("6.topic: darwin")], - &vec![], + &[String::from("6.topic: darwin")], + &[], ); } } @@ -272,16 +272,16 @@ impl worker::SimpleWorker for MassRebuildWorker