diff --git a/src/get.rs b/src/get.rs index b1f8f97..28e3afe 100644 --- a/src/get.rs +++ b/src/get.rs @@ -28,7 +28,7 @@ pub fn copy, K: AsRef>(cache: P, key: K, to: P) -> Result>(cache: P, sri: &Integrity, to: P) -> Result { - Ok(read::copy(cache.as_ref(), sri, to.as_ref())?) + read::copy(cache.as_ref(), sri, to.as_ref()) } pub fn info, K: AsRef>(cache: P, key: K) -> Result, Error> {