[cache_dump] Squash some clippy warnings

This commit is contained in:
Joe Thornber committed 2021-03-03 09:48:15 +00:00
1 parent 3cf0dba469
commit fdcc09c27e
4 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ impl<V: Unpack> ArrayBlock<V> {
}
}
fn convert_result<'a, V>(r: IResult<&'a [u8], V>) -> Result<(&'a [u8], V)> {
fn convert_result<V>(r: IResult<&[u8], V>) -> Result<(&[u8], V)> {
r.map_err(|_| anyhow!("parse error"))
}