summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/parser/low_level/grammar.lalrpop
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/cert/parser/low_level/grammar.lalrpop')
-rw-r--r--openpgp/src/cert/parser/low_level/grammar.lalrpop4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/cert/parser/low_level/grammar.lalrpop b/openpgp/src/cert/parser/low_level/grammar.lalrpop
index 1c173180..7280ddf5 100644
--- a/openpgp/src/cert/parser/low_level/grammar.lalrpop
+++ b/openpgp/src/cert/parser/low_level/grammar.lalrpop
@@ -12,7 +12,7 @@ use crate::cert::prelude::*;
use crate::cert::parser::low_level::lexer;
use crate::cert::parser::low_level::lexer::{Token, Component};
use crate::cert::ComponentBundles;
-use crate::cert::components::{
+use crate::cert::bundle::{
PrimaryKeyBundle,
SubkeyBundle,
UserIDBundle,
@@ -234,7 +234,7 @@ Subkey: Option<Key<key::PublicParts, key::SubordinateRole>> = {
},
<t:SECRET_SUBKEY> => {
match t.into() {
- Some(Packet::SecretSubkey(key)) => Some(key.mark_parts_public()),
+ Some(Packet::SecretSubkey(key)) => Some(key.parts_into_public()),
// Just validating a message...
None => None,
Some(pkt) =>