Make clippy happy

This commit is contained in:
Jonathan Kelley committed 2024-02-04 23:03:52 -08:00
1 parent 7d78e5e250
commit 4a7fe938ad
17 files changed
+39 -41

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ pub fn use_effect(mut callback: impl FnMut() + 'static) {
flush_sync().await;
// Run the effect
rc.run_in(|| callback());
rc.run_in(&mut callback);
// Wait for context to change
rc.changed().await;