clippy
This commit is contained in:
parent
5ce39b0453
commit
1467740f60
1 changed files with 3 additions and 3 deletions
|
@ -116,20 +116,20 @@ async fn build_page(config: Config) -> String {
|
||||||
error: false,
|
error: false,
|
||||||
projects: Some(
|
projects: Some(
|
||||||
data.iter()
|
data.iter()
|
||||||
|
.filter(|&p| !p.pulls_merged.is_empty())
|
||||||
.cloned()
|
.cloned()
|
||||||
.filter(|p| !p.pulls_merged.is_empty())
|
|
||||||
.collect(),
|
.collect(),
|
||||||
),
|
),
|
||||||
waiting: Some(
|
waiting: Some(
|
||||||
data.iter()
|
data.iter()
|
||||||
|
.filter(|&p| !p.pulls_open.is_empty())
|
||||||
.cloned()
|
.cloned()
|
||||||
.filter(|p| !p.pulls_open.is_empty())
|
|
||||||
.collect(),
|
.collect(),
|
||||||
),
|
),
|
||||||
closed: Some(
|
closed: Some(
|
||||||
data.iter()
|
data.iter()
|
||||||
|
.filter(|&p| !p.pulls_closed.is_empty())
|
||||||
.cloned()
|
.cloned()
|
||||||
.filter(|p| !p.pulls_closed.is_empty())
|
|
||||||
.collect(),
|
.collect(),
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue