Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use a bit less unsafe #21

Merged
merged 6 commits into from
May 14, 2024
Merged

Use a bit less unsafe #21

merged 6 commits into from
May 14, 2024

Conversation

udoprog
Copy link
Owner

@udoprog udoprog commented May 14, 2024

This adopts part of, and supersedes #18, I've opted to not introduce pin-project-lite since I don't want to introduce it as a dependency. I've also adopted a slightly different strategy for avoiding unsafe by accessing internal state through a closure.

@udoprog udoprog added the enhancement New feature or request label May 14, 2024
@udoprog udoprog merged commit 3074fb4 into main May 14, 2024
5 checks passed
@udoprog udoprog deleted the less-unsafe branch May 14, 2024 18:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants