diff options
Diffstat (limited to 'openpgp/src/cert/amalgamation.rs')
-rw-r--r-- | openpgp/src/cert/amalgamation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/cert/amalgamation.rs b/openpgp/src/cert/amalgamation.rs index 5cd7e8b7..64f5adf3 100644 --- a/openpgp/src/cert/amalgamation.rs +++ b/openpgp/src/cert/amalgamation.rs @@ -200,7 +200,7 @@ impl<'a, C> ValidComponentAmalgamation<'a, C> } /// Represents a component under a given policy. -pub trait Amalgamation<'a> { +pub trait ValidAmalgamation<'a> { /// Returns the certificate that the component came from. fn cert(&self) -> &'a Cert; @@ -377,7 +377,7 @@ pub trait Amalgamation<'a> { } } -impl<'a, C> Amalgamation<'a> for ValidComponentAmalgamation<'a, C> { +impl<'a, C> ValidAmalgamation<'a> for ValidComponentAmalgamation<'a, C> { // NOTE: No docstring, because ComponentAmalgamation has the same method. // Returns the certificate that the component came from. fn cert(&self) -> &'a Cert { |