]> git.feebdaed.xyz Git - 0xmirror/tokio.git/commit
util: fix `pending_only_on_first_poll_with_cancellation_token_owned_test` to use...
authorMartin Grigorov <martin-g@users.noreply.github.com>
Mon, 15 Sep 2025 07:22:42 +0000 (10:22 +0300)
committerGitHub <noreply@github.com>
Mon, 15 Sep 2025 07:22:42 +0000 (16:22 +0900)
commit86de2e306b91eb9a6de7aa5a38e3359789f27bf4
tree622875b05b1f1ad09f0bb7b12c062c04351bd580
parent6dc4f85f0bf1d5c22c15187a2b8cb78784ab4bda
util: fix `pending_only_on_first_poll_with_cancellation_token_owned_test` to use an owned cancellation token (#7613)

The name of the test suggests that it should test the
with_cancellation_token_owned() extension method
tokio-util/tests/future.rs