Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
slvrtrn committed Jul 30, 2024
1 parent 2f9c021 commit f88542b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/async_insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async fn main() -> Result<()> {
.bind(Identifier(table_name))
.fetch_all::<Event>()
.await?;
if events.len() > 0 {
if !events.is_empty() {
println!("Async insert was flushed");
println!("{events:?}");
break;
Expand Down

0 comments on commit f88542b

Please sign in to comment.