Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useless uses of Pin #2405

Merged
merged 1 commit into from
Jan 19, 2021
Merged

Remove useless uses of Pin #2405

merged 1 commit into from
Jan 19, 2021

Conversation

paolobarbolini
Copy link
Contributor

While looking further into #2388 I noticed UnboundedReceiver was getting pinned even though UnboundedReceiver::poll_recv takes &mut self. This detail was probably missed in the migration from tokio 0.3, which previously used Stream::poll_next, but can now be applied, unblocking #2393.

Copy link
Member

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

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

Nice catch!

@seanmonstar seanmonstar merged commit 237b2ce into hyperium:master Jan 19, 2021
BenxiangGe pushed a commit to BenxiangGe/hyper that referenced this pull request Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants