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

Make Unalign's field pub #1076

Closed
wants to merge 1 commit into from
Closed

Make Unalign's field pub #1076

wants to merge 1 commit into from

Conversation

jswrenn
Copy link
Collaborator

@jswrenn jswrenn commented Mar 27, 2024

This allows for directly writing to the field safely. Since Rust ensures that unsafe uses of this field require unsafe, we should additionally consider deprecating many of the methods of Unalign.

Fixes #836

This allows for directly writing to the field safely. Since Rust
ensures that unsafe uses of this field require `unsafe`, we should
additionally consider deprecating many of the methods of `Unalign`.

Fixes #836
@jswrenn jswrenn force-pushed the unalign-pub-field branch from 2f3342b to 6702b23 Compare March 27, 2024 16:08
@joshlf
Copy link
Member

joshlf commented Mar 27, 2024

Closing per #836 (comment). We can re-open later if we decide to continue with this.

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

Successfully merging this pull request may close these issues.

Make the inner type wrapped in Unalign public
2 participants