summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-09-18 21:17:23 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-09-18 21:17:23 -0400
commite7a7ced841e5eb1ec369b55d3abdbc32470d199d (patch)
tree6a5643e984e0cefa724caed8da89fa141eb1c3df /src
parent539d2cd77891ac02c1d467c65d26c880ea154b59 (diff)
Somewhere along the line this lifetime bound became redundant.
Diffstat (limited to 'src')
-rw-r--r--src/channel/app.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel/app.rs b/src/channel/app.rs
index 4505ea9..5aabe31 100644
--- a/src/channel/app.rs
+++ b/src/channel/app.rs
@@ -74,7 +74,7 @@ impl<'a> Channels<'a> {
&self,
channel: &channel::Id,
resume_at: Option<&DateTime>,
- ) -> Result<impl Stream<Item = broadcast::Message> + 'static, EventsError> {
+ ) -> Result<impl Stream<Item = broadcast::Message>, EventsError> {
fn skip_stale(
resume_at: Option<&DateTime>,
) -> impl for<'m> FnMut(&'m broadcast::Message) -> future::Ready<bool> {