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 -2
View File
@@ -94,7 +94,7 @@ async fn flushing() {
fn app() -> Element {
use_hook(|| {
spawn(async move {
for x in 0..10 {
for _ in 0..10 {
flush_sync().await;
SEQUENCE.with(|s| s.borrow_mut().push(1));
}
@@ -103,7 +103,7 @@ async fn flushing() {
use_hook(|| {
spawn(async move {
for x in 0..10 {
for _ in 0..10 {
flush_sync().await;
SEQUENCE.with(|s| s.borrow_mut().push(2));
}