summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/components.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/cert/components.rs')
-rw-r--r--openpgp/src/cert/components.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/openpgp/src/cert/components.rs b/openpgp/src/cert/components.rs
index 01d4a153..2db58947 100644
--- a/openpgp/src/cert/components.rs
+++ b/openpgp/src/cert/components.rs
@@ -49,11 +49,12 @@ pub use super::keyiter::{
pub type KeyBundle<KeyPart, KeyRole> = ComponentBundle<Key<KeyPart, KeyRole>>;
/// A primary key and any associated signatures.
-pub(crate) type PrimaryKeyBundle<KeyPart> =
+pub type PrimaryKeyBundle<KeyPart> =
KeyBundle<KeyPart, key::PrimaryRole>;
/// A subkey and any associated signatures.
-pub type SubkeyBundle<KeyPart> = KeyBundle<KeyPart, key::SubordinateRole>;
+pub type SubkeyBundle<KeyPart>
+ = KeyBundle<KeyPart, key::SubordinateRole>;
/// A key (primary or subkey, public or private) and any associated
/// signatures.