We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b22fbd commit dbd546aCopy full SHA for dbd546a
src/app.rs
@@ -415,8 +415,8 @@ fn get_most_recent_file(folder: &PathBuf) -> anyhow::Result<PathBuf> {
415
}
416
417
#[cfg(not(target_arch = "wasm32"))]
418
-fn execute(
419
- f: impl std::future::Future<Output = Box<LoadingStatus>> + 'static + Send,
+fn execute<F: std::future::Future<Output = Box<LoadingStatus>> + 'static + Send>(
+ f: F,
420
) -> poll_promise::Promise<Box<LoadingStatus>> {
421
poll_promise::Promise::spawn_async(f)
422
0 commit comments