diff options
author | 2020-03-24 14:07:34 +0100 | |
---|---|---|
committer | 2020-03-24 14:07:34 +0100 | |
commit | fd7d9622e333a0a2cd5c2e8e6cc38cc09d7981e4 (patch) | |
tree | 2f80c2582230d96d1e203cc4699329ed00fb3f2e /examples/download_progress | |
parent | 784b8ee74c15f682b5bab74ac7d475fbed20e937 (diff) | |
download | iced-fd7d9622e333a0a2cd5c2e8e6cc38cc09d7981e4.tar.gz iced-fd7d9622e333a0a2cd5c2e8e6cc38cc09d7981e4.tar.bz2 iced-fd7d9622e333a0a2cd5c2e8e6cc38cc09d7981e4.zip |
Fix `Recipe::hash` in `download_progress` example
Diffstat (limited to 'examples/download_progress')
-rw-r--r-- | examples/download_progress/src/download.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/download_progress/src/download.rs b/examples/download_progress/src/download.rs index 96e1dc28..f46a01f7 100644 --- a/examples/download_progress/src/download.rs +++ b/examples/download_progress/src/download.rs @@ -20,7 +20,9 @@ where fn hash(&self, state: &mut H) { use std::hash::Hash; + std::any::TypeId::of::<Self>().hash(state); + self.url.hash(state); } fn stream( |