From 85b12b4c6988f7c5a4992400a4f83f75bb21c82b Mon Sep 17 00:00:00 2001 From: One <43485962+c-git@users.noreply.github.com> Date: Wed, 31 Jan 2024 11:42:56 -0500 Subject: [PATCH] Use type alias for return type --- src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 4f2a475..cf4fe0c 100644 --- a/src/app.rs +++ b/src/app.rs @@ -74,7 +74,7 @@ impl eframe::App for BrowseApp { } #[cfg(target_arch = "wasm32")] -fn execute(f: F) -> Option>> +fn execute(f: F) -> SaveLoadPromise where F: std::future::Future> + 'static, {