Skip to content

Commit

Permalink
style: satisfy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
loyd committed May 14, 2023
1 parent 5fa713f commit f27effc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/inserter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ where
T: Serialize,
{
self.uncommitted_entries += 1;
let fut = self.insert.write(row);
async move { fut.await }
self.insert.write(row)
}

/// Checks limits and ends a current `INSERT` if they are reached.
Expand Down

0 comments on commit f27effc

Please sign in to comment.