chore(pubkey): remove dead code

This commit is contained in:
hrls
2021-05-18 10:45:51 +03:00
committed by Trent Nelson
parent 314102cb54
commit 755b7c7aee

View File

@ -68,13 +68,11 @@ pub enum ParsePubkeyError {
WrongSize,
#[error("Invalid Base58 string")]
Invalid,
#[error("Infallible")]
Infallible,
}
impl From<Infallible> for ParsePubkeyError {
fn from(_: Infallible) -> Self {
Self::Infallible
unreachable!("Infallible unihnabited");
}
}