diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-04-09 12:56:52 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-04-09 16:43:26 +0200 |
commit | dbaf698a597a018d9522e8025e9b56e784f0d60b (patch) | |
tree | 9ff2a96e0083ce8870e3e053d2d1c5fc6165d832 /tool/src/commands/dump.rs | |
parent | 0ed31f936748394962cbd6cfa93be6a1ecc93940 (diff) |
openpgp: Rename PacketParserBuilder::finalize to build.
- Writers should be finalized, builders should be built.
Diffstat (limited to 'tool/src/commands/dump.rs')
-rw-r--r-- | tool/src/commands/dump.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs index a9d068ae..7f0cc350 100644 --- a/tool/src/commands/dump.rs +++ b/tool/src/commands/dump.rs @@ -60,7 +60,7 @@ pub fn dump<W>(input: &mut dyn io::Read, output: &mut dyn io::Write, { let mut ppr = self::openpgp::parse::PacketParserBuilder::from_reader(input)? - .map(hex).finalize()?; + .map(hex).build()?; let mut message_encrypted = false; let width = width.into().unwrap_or(80); let mut dumper = PacketDumper::new(width, mpis); |