@@ -1472,8 +1472,8 @@ impl Repository {
1472
1472
fn build_issues_url (
1473
1473
& self ,
1474
1474
client : & GithubClient ,
1475
- filters : & Vec < ( & str , & str ) > ,
1476
- include_labels : & Vec < & str > ,
1475
+ filters : & [ ( & str , & str ) ] ,
1476
+ include_labels : & [ & str ] ,
1477
1477
ordering : Ordering < ' _ > ,
1478
1478
) -> String {
1479
1479
self . build_endpoint_url ( client, "issues" , filters, include_labels, ordering)
@@ -1482,8 +1482,8 @@ impl Repository {
1482
1482
fn build_pulls_url (
1483
1483
& self ,
1484
1484
client : & GithubClient ,
1485
- filters : & Vec < ( & str , & str ) > ,
1486
- include_labels : & Vec < & str > ,
1485
+ filters : & [ ( & str , & str ) ] ,
1486
+ include_labels : & [ & str ] ,
1487
1487
ordering : Ordering < ' _ > ,
1488
1488
) -> String {
1489
1489
self . build_endpoint_url ( client, "pulls" , filters, include_labels, ordering)
@@ -1493,8 +1493,8 @@ impl Repository {
1493
1493
& self ,
1494
1494
client : & GithubClient ,
1495
1495
endpoint : & str ,
1496
- filters : & Vec < ( & str , & str ) > ,
1497
- include_labels : & Vec < & str > ,
1496
+ filters : & [ ( & str , & str ) ] ,
1497
+ include_labels : & [ & str ] ,
1498
1498
ordering : Ordering < ' _ > ,
1499
1499
) -> String {
1500
1500
let filters = filters
@@ -1515,9 +1515,9 @@ impl Repository {
1515
1515
fn build_search_issues_url (
1516
1516
& self ,
1517
1517
client : & GithubClient ,
1518
- filters : & Vec < ( & str , & str ) > ,
1519
- include_labels : & Vec < & str > ,
1520
- exclude_labels : & Vec < & str > ,
1518
+ filters : & [ ( & str , & str ) ] ,
1519
+ include_labels : & [ & str ] ,
1520
+ exclude_labels : & [ & str ] ,
1521
1521
ordering : Ordering < ' _ > ,
1522
1522
) -> String {
1523
1523
let filters = filters
0 commit comments