chore(pubkey): remove dead code
This commit is contained in:
@ -68,13 +68,11 @@ pub enum ParsePubkeyError {
|
|||||||
WrongSize,
|
WrongSize,
|
||||||
#[error("Invalid Base58 string")]
|
#[error("Invalid Base58 string")]
|
||||||
Invalid,
|
Invalid,
|
||||||
#[error("Infallible")]
|
|
||||||
Infallible,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<Infallible> for ParsePubkeyError {
|
impl From<Infallible> for ParsePubkeyError {
|
||||||
fn from(_: Infallible) -> Self {
|
fn from(_: Infallible) -> Self {
|
||||||
Self::Infallible
|
unreachable!("Infallible unihnabited");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user