mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
Fix missing Send bound for Future.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
1c6992ccd4
commit
4cae17e83d
1 file changed
+2
-2
@@ -126,7 +126,7 @@ async fn mainline_position<Fetch, Fut, Pdu>(
|
||||
) -> Result<usize>
|
||||
where
|
||||
Fetch: Fn(OwnedEventId) -> Fut + Sync,
|
||||
Fut: Future<Output = Result<Pdu>>,
|
||||
Fut: Future<Output = Result<Pdu>> + Send,
|
||||
Pdu: Event,
|
||||
{
|
||||
let mut current_event = Some(event.clone());
|
||||
@@ -154,7 +154,7 @@ async fn get_power_levels_auth_event<Fetch, Fut, Pdu>(
|
||||
) -> Result<Option<Pdu>>
|
||||
where
|
||||
Fetch: Fn(OwnedEventId) -> Fut + Sync,
|
||||
Fut: Future<Output = Result<Pdu>>,
|
||||
Fut: Future<Output = Result<Pdu>> + Send,
|
||||
Pdu: Event,
|
||||
{
|
||||
let power_level_event = event
|
||||
|
||||
Reference in new issue
Block a user