We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
unwrap_or_revert_with
At the moment the way to panic when unwrapping is:
unwrap_or_revert_with(&self.env(), Overflow)
This creates a copy on env, which most of the time is not used.
env
Instead it could accept Module trait and get env only when needed.
Module
unwrap_or_revert_with(&self, Overflow)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
At the moment the way to panic when unwrapping is:
This creates a copy on
env
, which most of the time is not used.Instead it could accept
Module
trait and getenv
only when needed.The text was updated successfully, but these errors were encountered: