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

[either] throw an error with the left value on unwrap #7

Open
VitorLuizC opened this issue Jan 12, 2024 · 0 comments
Open

[either] throw an error with the left value on unwrap #7

VitorLuizC opened this issue Jan 12, 2024 · 0 comments

Comments

@VitorLuizC
Copy link
Owner

Would be nice to have the same behavior as Rust, on their Result/Option::unwrap function. It'll prevent unsafe behavior, but keep this quick way to get the right value.

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

No branches or pull requests

1 participant