mirror of
https://git.asonix.dog/asonix/activitystreams.git
synced 2024-11-22 03:40:59 +00:00
Make clippy happier
This commit is contained in:
parent
863174b0c9
commit
eba79ed4cc
1 changed files with 1 additions and 2 deletions
|
@ -49,8 +49,7 @@ fn main() -> Result<(), Error> {
|
|||
let v: Vec<ApObject<Page>> = collection
|
||||
.take_items()
|
||||
.into_iter()
|
||||
.map(|o| o.into_iter())
|
||||
.flatten()
|
||||
.flat_map(|o| o.into_iter())
|
||||
.filter_map(|any_base| any_base.take_base())
|
||||
.map(|base| base.solidify().and_then(|o| o.extend()))
|
||||
.collect::<Result<Vec<_>, _>>()?;
|
||||
|
|
Loading…
Reference in a new issue