summaryrefslogtreecommitdiffstats
path: root/openpgp/src/tpk/parser/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/tpk/parser/mod.rs')
-rw-r--r--openpgp/src/tpk/parser/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/tpk/parser/mod.rs b/openpgp/src/tpk/parser/mod.rs
index 635fd5cf..b2804cb4 100644
--- a/openpgp/src/tpk/parser/mod.rs
+++ b/openpgp/src/tpk/parser/mod.rs
@@ -420,7 +420,7 @@ pub struct TPKParser<'a, I: Iterator<Item=Packet>> {
source: PacketSource<'a, I>,
packets: Vec<Packet>,
saw_error: bool,
- filter: Vec<Box<Fn(&TPK, bool) -> bool + 'a>>,
+ filter: Vec<Box<dyn Fn(&TPK, bool) -> bool + 'a>>,
}
impl<'a, I: Iterator<Item=Packet>> Default for TPKParser<'a, I> {