Clippy
This commit is contained in:
@@ -137,6 +137,7 @@ impl AbiDigester {
|
||||
self.update(&[&label]);
|
||||
}
|
||||
|
||||
#[allow(clippy::unnecessary_wraps)]
|
||||
fn digest_primitive<T: Serialize>(mut self) -> Result<AbiDigester, DigestError> {
|
||||
self.update_with_type::<T>("primitive");
|
||||
Ok(self)
|
||||
@@ -164,6 +165,7 @@ impl AbiDigester {
|
||||
self.create_child().digest_data(v).map(|_| ())
|
||||
}
|
||||
|
||||
#[allow(clippy::unnecessary_wraps)]
|
||||
fn check_for_enum(
|
||||
&mut self,
|
||||
label: &'static str,
|
||||
|
Reference in New Issue
Block a user