performance improvements #342
1 changed files with 6 additions and 0 deletions
|
@ -56,3 +56,9 @@ impl<D: Digest> AsyncHasher<D> {
|
||||||
self.task.await.unwrap()
|
self.task.await.unwrap()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl<D: Digest> Default for AsyncHasher<D> {
|
||||||
|
fn default() -> Self {
|
||||||
|
Self::new()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue