diff --git a/zcash_proofs/src/downloadreader.rs b/zcash_proofs/src/downloadreader.rs index b06cc7f99e..e6d9d4321d 100644 --- a/zcash_proofs/src/downloadreader.rs +++ b/zcash_proofs/src/downloadreader.rs @@ -23,7 +23,7 @@ impl From for ResponseLazyReader { impl io::Read for ResponseLazyReader { fn read(&mut self, buf: &mut [u8]) -> io::Result { - use ResponseLazyReader::{Request, Response}; + use ResponseLazyReader::{Complete, Request, Response}; // Zero-sized buffer. This should never happen. if buf.is_empty() {