From 3f071e04fcda5b4ca61937788e86689c1b797c76 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 2 Dec 2024 10:49:59 -0600 Subject: [PATCH] Fix clippy lints --- src/field/field255.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/field/field255.rs b/src/field/field255.rs index 07306400b..65fb443e2 100644 --- a/src/field/field255.rs +++ b/src/field/field255.rs @@ -195,7 +195,7 @@ impl Neg for Field255 { } } -impl<'a> Neg for &'a Field255 { +impl Neg for &Field255 { type Output = Field255; fn neg(self) -> Field255 { @@ -216,7 +216,7 @@ impl From for Field255 { } } -impl<'a> TryFrom<&'a [u8]> for Field255 { +impl TryFrom<&[u8]> for Field255 { type Error = FieldError; fn try_from(bytes: &[u8]) -> Result {