Skip to content

Commit

Permalink
Address clippy warnings in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mciantyre committed Jun 20, 2024
1 parent 0cb3b8d commit 36dba8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rtic_spi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ mod app {

assert!(spi.fifo_status().rxcount == 2);

while let Some(_) = spi.read_data() {}
while spi.read_data().is_some() {}
}
}
}

0 comments on commit 36dba8f

Please sign in to comment.