Skip to content

Commit

Permalink
Merge pull request #823 from piodul/clippy-1.73.0
Browse files Browse the repository at this point in the history
examples: fix clippy's complaints about redundant_locals
  • Loading branch information
piodul authored Oct 6, 2023
2 parents 14ec2d2 + 64575b8 commit 17652b2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/parallel-prepared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ async fn main() -> Result<()> {
let prepared = prepared.clone();
let permit = sem.clone().acquire_owned().await;
tokio::task::spawn(async move {
let i = i;
session
.execute(&prepared, (i as i32, 2 * i as i32))
.await
Expand Down
1 change: 0 additions & 1 deletion examples/parallel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ async fn main() -> Result<()> {
let session = session.clone();
let permit = sem.clone().acquire_owned().await;
tokio::task::spawn(async move {
let i = i;
session
.query(
format!(
Expand Down

0 comments on commit 17652b2

Please sign in to comment.