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

refactor: TryFutures are Futures now, into_future is no longer need #2878

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yhx-12243
Copy link

Reduce a wrapper for IntoFuture struct, reduce code complexity.

@yhx-12243
Copy link
Author

AFAIK there are almost no crates use these IntoFutures and IntoStreams. But if one want the backward compatibility, one can define type IntoFuture<T> = T and type IntoStream<T> = T or just bump to v0.4.0, both is OK.

@taiki-e
Copy link
Member

taiki-e commented Oct 2, 2024

This appears to be a duplicate of #2763?

@yhx-12243
Copy link
Author

This appears to be a duplicate of #2763?

Maybe to say it is an extension better.

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