Skip to content

Commit

Permalink
Fix clippy lints (#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave authored Dec 2, 2024
1 parent e2404dd commit 2383c4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/field/field255.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -216,7 +216,7 @@ impl From<u64> for Field255 {
}
}

impl<'a> TryFrom<&'a [u8]> for Field255 {
impl TryFrom<&[u8]> for Field255 {
type Error = FieldError;

fn try_from(bytes: &[u8]) -> Result<Self, FieldError> {
Expand Down

0 comments on commit 2383c4b

Please sign in to comment.