From e1d0a9e718a61718ad33e348e6d2ab563b914f7d Mon Sep 17 00:00:00 2001 From: Jose Quesada Date: Wed, 20 Sep 2023 11:55:11 -0600 Subject: [PATCH] removed the accidental 'static bound on `ScopedFuture` --- leptos_reactive/src/runtime.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/leptos_reactive/src/runtime.rs b/leptos_reactive/src/runtime.rs index 08fb8baa0a..c01b8655b1 100644 --- a/leptos_reactive/src/runtime.rs +++ b/leptos_reactive/src/runtime.rs @@ -1489,7 +1489,7 @@ pub fn untrack_with_diagnostics(f: impl FnOnce() -> T) -> T { /// Allows running a future that has access to a given scope. #[pin_project] -pub struct ScopedFuture { +pub struct ScopedFuture { owner: Owner, #[pin] future: Fut, @@ -1521,3 +1521,5 @@ impl Future for ScopedFuture { } } } + +impl ScopedFuture {}