Fix filter_map_identity clippy lint
This commit is contained in:
parent
1b07e3afec
commit
e8f0cec6db
|
@ -48,7 +48,7 @@ named!(
|
||||||
value!(None, many_till!(take!(1), tag_no_case!("@grahamcofborg")))
|
value!(None, many_till!(take!(1), tag_no_case!("@grahamcofborg")))
|
||||||
)
|
)
|
||||||
)))) >> eof!()
|
)))) >> eof!()
|
||||||
>> (Some(res.into_iter().filter_map(|x| x).collect()))
|
>> (Some(res.into_iter().flatten().collect()))
|
||||||
) | value!(None)
|
) | value!(None)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue