Use Self::Engine in GeneralHash impl

Match the trait method signature. Internal change only.
This commit is contained in:
Tobin C. Harding 2025-02-07 07:25:45 +11:00
parent a0211906fe
commit 3e8e2e46bf
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ macro_rules! hash_trait_impls {
impl<$($gen: $gent),*> $crate::GeneralHash for Hash<$($gen),*> {
type Engine = HashEngine;
fn from_engine(e: HashEngine) -> Hash<$($gen),*> { Self::from_engine(e) }
fn from_engine(e: Self::Engine) -> Hash<$($gen),*> { Self::from_engine(e) }
}
#[cfg(feature = "serde")]