diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/download.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/download.rs b/client/src/download.rs index 4a47ad9..bcdd80e 100644 --- a/client/src/download.rs +++ b/client/src/download.rs @@ -68,7 +68,7 @@ impl Downloader { pub fn packet(&self, p: &Packet) -> Result<()> { let mut state = self.inner.write().unwrap(); match p { - Packet::RespondResource(d) => { + Packet::RespondResource(_, d) => { let key = Resource(resource_hash(&d.0), PhantomData); state.store.set_raw(&d.0)?; state.need.remove(&key); |