summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-01-02 11:48:16 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-01-02 13:32:02 +0100
commit75c1d18d7a7eb3e6889c651cfaf8e6c4da00b647 (patch)
tree8b713ea22c4e439d7ed462617392e63fc008cdb7 /tool
parent7a42b2e19ee506e688bece42c108eee4b4e06a54 (diff)
openpgp: Mark enum Packet non-exhaustive.
- See #405.
Diffstat (limited to 'tool')
-rw-r--r--tool/src/commands/dump.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/src/commands/dump.rs b/tool/src/commands/dump.rs
index 651c33a3..a1dedf71 100644
--- a/tool/src/commands/dump.rs
+++ b/tool/src/commands/dump.rs
@@ -661,6 +661,8 @@ impl PacketDumper {
writeln!(output, "{} Chunk size: {}", i, a.chunk_size())?;
writeln!(output, "{} IV: {}", i, hex::encode(a.iv()))?;
},
+
+ __Nonexhaustive => unreachable!(),
}
if let Some(fields) = additional_fields {