Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Nov 9, 2023
1 parent b615263 commit c5c4cf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/src/types/block/unlock/empty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mod dto {
}

impl From<&EmptyUnlock> for EmptyUnlockDto {
fn from(value: &EmptyUnlock) -> Self {
fn from(_: &EmptyUnlock) -> Self {
Self {
kind: EmptyUnlock::KIND,
}
Expand All @@ -35,10 +35,10 @@ mod dto {
impl TryFrom<EmptyUnlockDto> for EmptyUnlock {
type Error = Error;

fn try_from(value: EmptyUnlockDto) -> Result<Self, Self::Error> {
fn try_from(_: EmptyUnlockDto) -> Result<Self, Self::Error> {
Ok(Self)
}
}

crate::impl_serde_typed_dto!(EmptyUnlock, EmptyUnlockDto, "anchor unlock");
crate::impl_serde_typed_dto!(EmptyUnlock, EmptyUnlockDto, "empty unlock");
}

0 comments on commit c5c4cf5

Please sign in to comment.