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

Implement TryFromBytes for MaybeUninit<T> when T: ?NoCell #893

Closed
Tracked by #671
joshlf opened this issue Feb 17, 2024 · 1 comment
Closed
Tracked by #671

Implement TryFromBytes for MaybeUninit<T> when T: ?NoCell #893

joshlf opened this issue Feb 17, 2024 · 1 comment

Comments

@joshlf
Copy link
Member

joshlf commented Feb 17, 2024

Currently, we require T: NoCell for TryFromBytes for MaybeUninit<T> since TryFromBytes requires that it only be implemented for types which do not contain UnsafeCells. Once #890 lands, that requirement will no longer exist, and we can remove the T: NoCell requirement.

@joshlf joshlf mentioned this issue Feb 17, 2024
65 tasks
@joshlf
Copy link
Member Author

joshlf commented Feb 27, 2024

Closed in #924

@joshlf joshlf closed this as completed Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant