Commit dae8c8b0 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

gitlab: remove unnecessary Vec creation

parent 8bf853ea
......@@ -747,7 +747,7 @@ impl Gitlab {
pub fn labels_with_counts(&self, project: ProjectId) -> Result<Vec<Label>> {
self.get_paged_with_param(
&format!("projects/{}/labels", project),
vec![("with_counts", "true")],
&[("with_counts", "true")],
)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment