Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nicholas Bailey
rust-gitlab
Commits
dae8c8b0
Commit
dae8c8b0
authored
Oct 10, 2019
by
Ben Boeckel
⛰
Browse files
gitlab: remove unnecessary Vec creation
parent
8bf853ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gitlab.rs
View file @
dae8c8b0
...
...
@@ -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"
)],
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment