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

Add #[non_exhaustive] to io_uring structs with padding #1281

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sunfishcode
Copy link
Member

Padding fields may be repurposed by future Linux versions, so in an attempt to be somewhat more future-proof, mark io_uring structs padding fields as #[doc(hidden)] and their structs as #[non_exhaustive].

Padding fields may be repurposed by future Linux versions, so in an
attempt to be somewhat more future-proof, mark io_uring structs
padding fields as `#[doc(hidden)]` and their structs as
`#[non_exhaustive]`.
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.

1 participant