Skip to content

Commit

Permalink
Update tests/client.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Jiahao XU <[email protected]>
  • Loading branch information
Ruben2424 and NobodyXu committed Jun 29, 2024
1 parent 62279f8 commit 441c8e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ async fn http3_request_full() {
.body("hello")
.send();

fn assert_sync<T: Sync>(_: &T) {}
assert_sync(&res_fut);
fn assert_send_sync<T: Send + Sync>(_: &T) {}
assert_send_sync(&res_fut);

let res = res_fut.await.expect("request");

Expand Down

0 comments on commit 441c8e7

Please sign in to comment.