Skip to content

Conversation

@Darksonn
Copy link
Contributor

@Darksonn Darksonn commented Jul 8, 2021

This updates the async_send_sync.rs test.

@Darksonn Darksonn added the A-tokio Area: The main tokio crate label Jul 8, 2021
#[pin]
future: F,
#[pin]
_pinned: PhantomPinned,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't do this, then #3273 changes whether TaskLocal::scope returns an Unpin future.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good catch 👍

@carllerche carllerche merged commit 7a11cfd into master Jul 12, 2021
@carllerche carllerche deleted the async-send-sync-refresh branch July 12, 2021 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tokio Area: The main tokio crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants