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

rust: use .into not .try_into for hash->array conversion #1233

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

benma
Copy link
Collaborator

@benma benma commented Jun 18, 2024

Since digest-0.13.0, one can convert directly to the [u8;32] array.

This does not change the compilation output at all (identical binaries).

Since digest-0.13.0, one can convert directly to the `[u8;32]` array.

This does not change the compilation output at all (identical
binaries).
@benma benma merged commit 96ea9e1 into BitBoxSwiss:master Jun 18, 2024
1 check passed
@benma benma deleted the hash_into branch June 18, 2024 20:13
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.

1 participant