Diffstat (limited to 'src/effect/blocking.rs')
| -rw-r--r-- | src/effect/blocking.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effect/blocking.rs b/src/effect/blocking.rs index c504445..b95e643 100644 --- a/src/effect/blocking.rs +++ b/src/effect/blocking.rs @@ -39,9 +39,9 @@ impl<B: BlockOn> Effect for Blocking<B> { Value(value, Default::default()) } - fn from_future<'a, F: Ss + 'a>(future: F) -> ErasedEffective<'a, F::Output, Self> + fn from_future<'a, F>(future: F) -> ErasedEffective<'a, F::Output, Self> where - F: Future, + F: Future + Ss + 'a, F::Output: Ss + 'a, { Value(B::block_on(future), Default::default()) |