Skip to content

Commit

Permalink
chore: Remove a useless From implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Jan 18, 2024
1 parent d1643f2 commit 9e2b7fd
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/verification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,6 @@ impl From<&VerificationMethod> for RumaVerificationMethod {
}
}

impl From<VerificationMethod> for RumaVerificationMethod {
fn from(value: VerificationMethod) -> Self {
use VerificationMethod::*;

match value {
SasV1 => Self::SasV1,
QrCodeScanV1 => Self::QrCodeScanV1,
QrCodeShowV1 => Self::QrCodeShowV1,
ReciprocateV1 => Self::ReciprocateV1,
}
}
}

impl TryFrom<RumaVerificationMethod> for VerificationMethod {
type Error = JsError;

Expand Down

0 comments on commit 9e2b7fd

Please sign in to comment.