chore: clean up the repo some

This commit is contained in:
Jonathan Kelley committed 2022-12-06 17:50:25 -08:00
1 parent 5a0ae67ccb
commit 5673017def
13 files changed
+30 -27

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ macro_rules! use_callback {
)
};
}
pub fn use_callback<'a, T, R, F>(cx: &'a ScopeState, make: impl FnOnce() -> R) -> impl FnMut(T) + 'a
pub fn use_callback<T, R, F>(cx: &ScopeState, make: impl FnOnce() -> R) -> impl FnMut(T) + '_
where
R: FnMut(T) -> F + 'static,
F: Future<Output = ()> + 'static,