diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-11-26 14:41:14 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-11-26 15:22:34 +0100 |
commit | ff22912994272ffd88fcfc680619c858a70ea4b0 (patch) | |
tree | 7a8b1e69eab04682a247bc4418997b59b9681372 | |
parent | eb5b1798ce4aa32c3c6d25bcac793ed5c9b59185 (diff) |
openpgp: Remove unused lifetimes.
-rw-r--r-- | openpgp/src/cert/builder.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/cert/builder.rs b/openpgp/src/cert/builder.rs index 5976a931..c6651786 100644 --- a/openpgp/src/cert/builder.rs +++ b/openpgp/src/cert/builder.rs @@ -446,7 +446,7 @@ impl CertBuilder<'_> { /// # Ok(()) /// # } /// ``` - pub fn add_userid<'a, U>(mut self, uid: U) -> Self + pub fn add_userid<U>(mut self, uid: U) -> Self where U: Into<packet::UserID> { self.userids.push(uid.into()); @@ -526,7 +526,7 @@ impl CertBuilder<'_> { /// # Ok(()) /// # } /// ``` - pub fn add_user_attribute<'a, U>(mut self, ua: U) -> Self + pub fn add_user_attribute<U>(mut self, ua: U) -> Self where U: Into<packet::UserAttribute> { self.user_attributes.push(ua.into()); |