Skip to content

Commit

Permalink
Fix test code causing a rust-analyzer error.
Browse files Browse the repository at this point in the history
  • Loading branch information
bikeshedder committed Jan 10, 2024
1 parent 4c03771 commit 88451db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres/tests/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ async fn transaction_pipeline() {
let stmt = client.prepare_cached("SELECT 1 + $1").await.unwrap();
let txn = client.transaction().await.unwrap();
let mut futures = vec![];
for i in 0..100 {
for i in 0..100i32 {
let stmt = stmt.clone();
let txn = &txn;
futures.push(async move {
Expand Down

0 comments on commit 88451db

Please sign in to comment.