We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 680f7b8 commit 427340dCopy full SHA for 427340d
1 file changed
tokio-postgres/tests/test/types/mod.rs
@@ -661,7 +661,9 @@ async fn inet() {
661
async fn check_send() {
662
fn is_send<T: Send>(_: &T) {}
663
664
- let mut client = connect("user=postgres").await;
+ let f = connect("user=postgres");
665
+ is_send(&f);
666
+ let mut client = f.await;
667
668
let f = client.prepare("SELECT $1::TEXT");
669
is_send(&f);
0 commit comments