Implement some clippy fixes

This commit is contained in:
Jonathan Kelley committed 2024-01-30 18:17:45 -08:00
1 parent a72c035de4
commit 09e14f1936
11 files changed
+103 -133

No files matched your search

+2 -6
View File
@@ -39,13 +39,9 @@ where
let res = future::poll_fn(|cx| {
// Set the effect stack properly
// Poll the inner future
let ready = fut.poll_unpin(cx);
// add any dependencies to the effect stack that we need to watch when restarting the future
ready
// Poll the inner future
fut.poll_unpin(cx)
})
.await;