Skip to content

background_jobs: Adjust perform() to work on &self #7395

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

Merged
merged 3 commits into from
Oct 31, 2023

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Oct 31, 2023

There is no need to unnecessarily consume the Job instance in the perform() call...

There is no need for owning these arguments
…xJob`

There is no need for owning this struct
There is no need to consume the `Job` instance in the `perform()` call
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Oct 31, 2023
@Turbo87 Turbo87 enabled auto-merge October 31, 2023 09:33
@Turbo87 Turbo87 disabled auto-merge October 31, 2023 09:34
@Turbo87 Turbo87 enabled auto-merge October 31, 2023 09:34
@Turbo87 Turbo87 merged commit 0842674 into rust-lang:main Oct 31, 2023
@Turbo87 Turbo87 deleted the perform-self branch October 31, 2023 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant