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

Consider removing Never type alias #2302

Closed
taiki-e opened this issue Jan 1, 2021 · 0 comments · Fixed by #2341
Closed

Consider removing Never type alias #2302

taiki-e opened this issue Jan 1, 2021 · 0 comments · Fixed by #2341

Comments

@taiki-e
Copy link
Member

taiki-e commented Jan 1, 2021

This is just a type alias of std::convert::Infallible and doesn't add anything specific to futures.

Given that it is relatively common to use std::convert::Infallible directly, it seems unlikely that we will need to provide our own type alias. (Actually, futures-sink uses Infallible directly.)

Related: #1832, #1836

@taiki-e taiki-e added this to the futures-0.4 milestone Jan 1, 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 a pull request may close this issue.

1 participant