Skip to content

Conversation

@tarcieri
Copy link
Member

Adds an explicit method for borrowing a &PasswordHashRef from &PasswordHash, which is useful over AsRef/Borrow/Deref when avoiding inference and being explicit is preferable.

To denote the pending breaking changes, this also bumps the version to v0.6.0-pre, so as to match password-hash and phc's version.

Adds an explicit method for borrowing a `&PasswordHashRef` from
`&PasswordHash`, which is useful over `AsRef`/`Borrow`/`Deref` when
avoiding inference and being explicit is preferable.

To denote the pending breaking changes, this also bumps the version to
v0.6.0-pre, so as to match `password-hash` and `phc`'s version.
@tarcieri tarcieri force-pushed the mcf/inherent-method-for-ref-conversion branch from 068da04 to 7ae20bf Compare December 10, 2025 18:37
@tarcieri tarcieri merged commit 6863922 into master Dec 10, 2025
180 checks passed
@tarcieri tarcieri deleted the mcf/inherent-method-for-ref-conversion branch December 10, 2025 19: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.

2 participants