Fix Recipe::hash
in download_progress
example
This commit is contained in:
parent
784b8ee74c
commit
fd7d9622e3
@ -20,7 +20,9 @@ where
|
|||||||
|
|
||||||
fn hash(&self, state: &mut H) {
|
fn hash(&self, state: &mut H) {
|
||||||
use std::hash::Hash;
|
use std::hash::Hash;
|
||||||
|
|
||||||
std::any::TypeId::of::<Self>().hash(state);
|
std::any::TypeId::of::<Self>().hash(state);
|
||||||
|
self.url.hash(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn stream(
|
fn stream(
|
||||||
|
Loading…
Reference in New Issue
Block a user