Skip to content

Commit

Permalink
chore: clippy (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Dec 18, 2023
1 parent fea43e6 commit ce63580
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/sol-types/src/types/interface/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl SolInterface for Infallible {

#[inline]
fn selector(&self) -> [u8; 4] {
match *self {}
unreachable!()
}

#[inline]
Expand All @@ -126,12 +126,12 @@ impl SolInterface for Infallible {

#[inline]
fn abi_encoded_size(&self) -> usize {
match *self {}
unreachable!()
}

#[inline]
fn abi_encode_raw(&self, _out: &mut Vec<u8>) {
match *self {}
unreachable!()
}
}

Expand Down

0 comments on commit ce63580

Please sign in to comment.