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

Use ManuallyDrop in remaining places #6092

Merged
merged 8 commits into from
Aug 12, 2024

Conversation

teoxoy
Copy link
Member

@teoxoy teoxoy commented Aug 8, 2024

No description provided.

@teoxoy teoxoy requested a review from a team as a code owner August 8, 2024 17:00
@teoxoy teoxoy force-pushed the use-ManuallyDrop-in-remaining-places branch from 4d0adc6 to 4c52dea Compare August 8, 2024 17:05
@teoxoy teoxoy self-assigned this Aug 8, 2024
Copy link
Member

@ErichDonGubler ErichDonGubler left a comment

Choose a reason for hiding this comment

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

My understanding of the benefit of these changes is that we continue to guarantee that Drop is the sole context that should have access to these resources when run, but we now no longer have to navigate an unnecessary Optional layer to get at resource value links that should always be present over the lifetime of these resources anyway. We make every other interaction now more ergonomic.

If the above sounds right, we're on the same page; shippit!

@teoxoy teoxoy force-pushed the use-ManuallyDrop-in-remaining-places branch from 4c52dea to 0180aed Compare August 12, 2024 22:44
@teoxoy teoxoy enabled auto-merge (rebase) August 12, 2024 22:44
@teoxoy teoxoy merged commit c72bc7b into gfx-rs:trunk Aug 12, 2024
25 checks passed
@teoxoy teoxoy deleted the use-ManuallyDrop-in-remaining-places branch August 12, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants