Skip to content

Commit

Permalink
Merge pull request #765 from helio-frota/clones
Browse files Browse the repository at this point in the history
chore: removes redundant clones
  • Loading branch information
Shnatsel authored Aug 29, 2024
2 parents 6b17e2a + 6556085 commit 6fee4ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cyclonedx-bom/src/specs/common/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl From<models::signature::Signer> for Signer {
fn from(signer: models::signature::Signer) -> Self {
Self {
algorithm: signer.algorithm.into(),
value: signer.value.clone(),
value: signer.value,
}
}
}
Expand All @@ -174,7 +174,7 @@ impl From<Signer> for models::signature::Signer {
fn from(signer: Signer) -> Self {
Self {
algorithm: signer.algorithm.into(),
value: signer.value.to_string(),
value: signer.value,
}
}
}
Expand Down

0 comments on commit 6fee4ef

Please sign in to comment.