diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-12-18 15:35:21 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-12-18 16:21:46 +0100 |
commit | e3075efc41f8bb9f53d38b9e74bff1b4518a4152 (patch) | |
tree | a09a092d18f52116e9216cdaaeea26ece26efef9 | |
parent | ae3294704ef83aeafd335851810d1c51f2b5fbcb (diff) |
openpgp: Fix name of conversion functions.
-rw-r--r-- | openpgp/src/packet/key/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/packet/key/mod.rs b/openpgp/src/packet/key/mod.rs index 6d8b58ac..227f68cf 100644 --- a/openpgp/src/packet/key/mod.rs +++ b/openpgp/src/packet/key/mod.rs @@ -512,13 +512,13 @@ macro_rules! create_conversions { } /// Changes the key's role tag to `SubordinateRole`. - pub fn mark_role_secondary(self) -> $Key<P, SubordinateRole> + pub fn mark_role_subordinate(self) -> $Key<P, SubordinateRole> { convert!(self) } /// Changes the key's role tag to `SubordinateRole`. - pub fn mark_role_secondary_ref(&self) -> &$Key<P, SubordinateRole> + pub fn mark_role_subordinate_ref(&self) -> &$Key<P, SubordinateRole> { convert_ref!(self) } |