From 57f39f2a7d8b6283bff345c9a28ce3f633e40f74 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Wed, 10 Dec 2025 11:40:10 -0700 Subject: [PATCH] password-hash: make `PasswordVerifier` Changes the `H` generic parameter of `PasswordVerifier` to allow dynamically sized types. This is useful for `mcf::PasswordHashRef`, which is a newtype for `str`. --- password-hash/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/password-hash/src/lib.rs b/password-hash/src/lib.rs index 56719ce2..fc71c3f9 100644 --- a/password-hash/src/lib.rs +++ b/password-hash/src/lib.rs @@ -113,7 +113,7 @@ pub trait CustomizedPasswordHasher { /// /// This trait is object safe and can be used to implement abstractions over /// multiple password hashing algorithms. -pub trait PasswordVerifier { +pub trait PasswordVerifier { /// Compute this password hashing function against the provided password /// using the parameters from the provided password hash and see if the /// computed output matches.