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

shielded-pool: remove unwrap #4719

Closed
wants to merge 2 commits into from
Closed

Conversation

dynst
Copy link
Contributor

@dynst dynst commented Jul 17, 2024

Describe your changes

Remove unwrap() calls added in #4404 that made #![deny(clippy::unwrap_used)] unhappy.

See also #2920.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    no functionality change

These were added in penumbra-zone#4404 and made `#![deny(clippy::unwrap_used)]` unhappy.

See also penumbra-zone#2920.
@cronokirby
Copy link
Contributor

These unwraps are gated behind is_err, so no risk there. In the interest of not touching potentially consensus breaking code, we should keep the expects in there for now.

@cronokirby cronokirby closed this Aug 5, 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