relay: delint

This commit is contained in:
Astro 2023-06-16 21:32:18 +02:00
parent f55ee48c03
commit 427acb0731

View file

@ -43,7 +43,7 @@ impl Post<'_> {
.chain( .chain(
self.tags() self.tags()
.into_iter() .into_iter()
.map(|ref s| { .flat_map(|ref s| {
// Don't handle the empty hashtag `#` // Don't handle the empty hashtag `#`
if s.is_empty() { if s.is_empty() {
return vec![]; return vec![];
@ -65,7 +65,6 @@ impl Post<'_> {
vec![actor1] vec![actor1]
} }
}) })
.flatten()
) )
} }