diff --git a/examples/parallel-prepared.rs b/examples/parallel-prepared.rs index a5a6fabe4f..abab78af64 100644 --- a/examples/parallel-prepared.rs +++ b/examples/parallel-prepared.rs @@ -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 diff --git a/examples/parallel.rs b/examples/parallel.rs index c40fbb31c5..e23c560f41 100644 --- a/examples/parallel.rs +++ b/examples/parallel.rs @@ -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!(