Skip to content

Commit 6c2a29f

Browse files
authored
chore(MySql): Remove unnecessary box (#3708)
1 parent 6fa0458 commit 6c2a29f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlx-mysql/src/connection/executor.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ impl MySqlConnection {
111111
self.inner.stream.wait_until_ready().await?;
112112
self.inner.stream.waiting.push_back(Waiting::Result);
113113

114-
Ok(Box::pin(try_stream! {
114+
Ok(try_stream! {
115115
// make a slot for the shared column data
116116
// as long as a reference to a row is not held past one iteration, this enables us
117117
// to re-use this memory freely between result sets
@@ -240,7 +240,7 @@ impl MySqlConnection {
240240
r#yield!(v);
241241
}
242242
}
243-
}))
243+
})
244244
}
245245
}
246246

0 commit comments

Comments
 (0)