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

Consider using Option<NonNull<T>> instead of Option<*mut T> in RefMutContainer #27

Closed
jopemachine opened this issue May 25, 2023 · 0 comments · Fixed by #34
Closed

Consider using Option<NonNull<T>> instead of Option<*mut T> in RefMutContainer #27

jopemachine opened this issue May 25, 2023 · 0 comments · Fixed by #34
Labels
enhancement question Further information is requested

Comments

@jopemachine
Copy link
Member

Ref: https://www.reddit.com/user/tafia97300/)https://www.reddit.com/r/rust/comments/13ocijs/correct_method_to_expose_reference_type_in_pyo3/

@jopemachine jopemachine added question Further information is requested enhancement labels May 25, 2023
@jopemachine jopemachine changed the title Consider using Option<NonNull<T>> instead of Option<*mut T> Consider using Option<NonNull<T>> instead of Option<*mut T> in RefMutContainer May 25, 2023
@jopemachine jopemachine linked a pull request Jun 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant