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

Derive strum's EnumIter trait for enums #197

Closed
wants to merge 1 commit into from

Conversation

musaprg
Copy link
Contributor

@musaprg musaprg commented Aug 17, 2024

(TBD)

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
@cgwalters
Copy link
Contributor

Looks sane to me...though it'd be worth explaining why you're making this change though. Which specific enum do you want to iterate over?

This also seems to overlap with #200 a bit in that I notice strum has https://docs.rs/strum/latest/strum/derive.AsRefStr.html

@musaprg
Copy link
Contributor Author

musaprg commented Aug 24, 2024

@cgwalters Hi, sorry I haven't finalized this PR for review yet. I wanted to iterate LinuxNamespaceType over as part of containers/youki#2837. I'll check #200 and reconsider my PR.

@musaprg musaprg closed this Sep 9, 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

Successfully merging this pull request may close these issues.

2 participants