feat: clippy

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-09-24 22:10:38 +02:00
parent 8beaeb53d7
commit ca7c0c5c09
5 changed files with 8 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ pub mod basic {
where
Self: Sized,
{
let output = Self::decode(raw.as_slice()).map_err(|e| ::crunch::errors::DeserializeError::ProtoErr(e))?;
let output = Self::decode(raw.as_slice()).map_err(::crunch::errors::DeserializeError::ProtoErr)?;
Ok(output)
}
}
@@ -42,7 +42,7 @@ pub mod basic {
where
Self: Sized,
{
let output = Self::decode(raw.as_slice()).map_err(|e| ::crunch::errors::DeserializeError::ProtoErr(e))?;
let output = Self::decode(raw.as_slice()).map_err(::crunch::errors::DeserializeError::ProtoErr)?;
Ok(output)
}
}