Fix linting errors (#318)

* Fix linting error

* Fix linting errors
This commit is contained in:
Daniël Heres 2021-06-22 07:49:25 +02:00 committed by GitHub
parent 56e50dccd4
commit d8775e2815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 26 deletions

View file

@ -2358,8 +2358,7 @@ impl<'a> Parser<'a> {
]) // This couldn't possibly be a bad idea
})?
.into_iter()
.filter(|i| i.is_some())
.map(|i| i.unwrap())
.flatten()
.collect();
lateral_views.push(LateralView {