mirror of
https://github.com/astro/buzzrelay.git
synced 2024-11-22 04:00:59 +00:00
relay: delint
This commit is contained in:
parent
f55ee48c03
commit
427acb0731
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue