Skip to content

chore: replace all internal usage of pin_mut #2941

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

Closed

Conversation

tisonkun
Copy link
Contributor

@tisonkun tisonkun commented Apr 5, 2025

This follows up #2929 (comment) step 2.

cc @taiki-e

We don't use a unified MSRV. So I'm understanding which versions should be updated.

This refers to #2924

@rustbot rustbot added A-executor Area: futures::executor A-future Area: futures::future S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 5, 2025
@tisonkun
Copy link
Contributor Author

tisonkun commented Apr 5, 2025

We have some MSRV as rust-version = "1.36", not sure why they are different.

Signed-off-by: tison <[email protected]>
@tisonkun tisonkun force-pushed the replace--all-usage-of-pin-mut branch from 5689b48 to b6a2a53 Compare April 5, 2025 08:20
Signed-off-by: tison <[email protected]>
@tisonkun tisonkun force-pushed the replace--all-usage-of-pin-mut branch from 22f9836 to 5b61de3 Compare April 5, 2025 08:31
@taiki-e
Copy link
Member

taiki-e commented Apr 5, 2025

Thanks!

Considering that all of the affected code except futures-executor/src/local_pool.rs and futures-util/src/future/future/mod.rs are tests, it might be a good idea to split those two into a separate PR. In that case, the changes to the tests would not affect the MSRV, so we can backport these right in.

@@ -27,7 +26,7 @@ mod fuse;
mod map;

delegate_all!(
/// Future for the [`flatten`](super::FutureExt::flatten) method.
Copy link
Member

Choose a reason for hiding this comment

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

Please split unrelated changes into separate PRs as they will be difficult to review.

@tisonkun
Copy link
Contributor Author

tisonkun commented Apr 5, 2025

OK. I'll submit two separated PRs.

@tisonkun tisonkun closed this Apr 5, 2025
@tisonkun tisonkun deleted the replace--all-usage-of-pin-mut branch April 8, 2025 00:10
@taiki-e taiki-e removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-executor Area: futures::executor A-future Area: futures::future
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants