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

Use AsRef instead of Borrow #2

Merged
merged 1 commit into from
May 13, 2024
Merged

Use AsRef instead of Borrow #2

merged 1 commit into from
May 13, 2024

Conversation

tcharding
Copy link
Owner

The docs on Borrow and AsRef are not super clear to me but it has been suggested that we really want AsRef<[u8] to show that the digest is a slice of bytes not Borrow.

The docs on `Borrow` and `AsRef` are not super clear to me but it has
been suggested that we really want `AsRef<[u8]` to show that the digest
is a slice of bytes not `Borrow`.
@tcharding tcharding merged commit 8d6b036 into master May 13, 2024
11 checks passed
@tcharding tcharding deleted the 05-06-as-ref branch May 13, 2024 03:58
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.

None yet

1 participant