Skip to content

refactor: restrict run_future() usages to tests - #3856

Merged
djc merged 5 commits into
masterfrom
refactor/no-run-future
Jun 3, 2024
Merged

refactor: restrict run_future() usages to tests#3856
djc merged 5 commits into
masterfrom
refactor/no-run-future

Conversation

@rami3l

@rami3lrami3l commented Jun 3, 2024

Copy link
Copy Markdown
Member

Continuation of #3367, supersedes #3847.

This PR simply makes more function async, and thus the necessity of run_future() in non-test code is completely eliminated.

The only usages remaining are in manifestation's tests, which is seemingly a bit harder than others considering lifetime restrictions and such.

@rami3l
rami3l requested review from djc and rbtcollinsJune 3, 2024 12:36
@rami3lrami3l added this to the 1.28.0 milestone Jun 3, 2024
djc
djc approved these changes Jun 3, 2024

@djcdjc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!

Comment threadsrc/dist/manifestation/tests.rs
@rami3l
rami3l added this pull request to the merge queue Jun 3, 2024
@rami3l
rami3l removed this pull request from the merge queue due to a manual request Jun 3, 2024
@rami3l
rami3l requested a review from djcJune 3, 2024 16:15
djc
djc approved these changes Jun 3, 2024
@djc
djc added this pull request to the merge queue Jun 3, 2024
Merged via the queue into master with commit 1709a23Jun 3, 2024
@djc
djc deleted the refactor/no-run-future branch June 3, 2024 17:38
Sign up for freeto 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

@rami3l@djc