Skip to content

Consume Value to get an owned part of it #1209

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

Open
lasantosr opened this issue Nov 6, 2024 · 0 comments
Open

Consume Value to get an owned part of it #1209

lasantosr opened this issue Nov 6, 2024 · 0 comments

Comments

@lasantosr
Copy link

It would be useful to have owned versions of the as_xxx() functions. We can also use let .. else or match directly, but it's convenient to have such methods also available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant