summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize.rs
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-11-22 14:18:15 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2021-11-29 11:53:55 +0100
commit4ecbe9e0348b2d56e2d5431aac54c342a08ca1a6 (patch)
tree0cbd589baf1bf39ce1ed1d87c2af39c2b05566a5 /openpgp/src/serialize.rs
parentf63f3181c87877a5a5b261d0f1e206615de613f6 (diff)
Fix Acronym spelling.
- In CamelCase, acronyms count as one word. Apply this rule where API and lalrpop are not impacted. - Found by clippy::upper_case_acronyms.
Diffstat (limited to 'openpgp/src/serialize.rs')
-rw-r--r--openpgp/src/serialize.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/serialize.rs b/openpgp/src/serialize.rs
index 04f36403..3f124004 100644
--- a/openpgp/src/serialize.rs
+++ b/openpgp/src/serialize.rs
@@ -2689,6 +2689,7 @@ impl MarshalInto for Packet {
/// [`openpgp::Packet`]: super::Packet
/// [`packet::Signature`]: crate::packet::Signature
#[allow(dead_code)]
+#[allow(clippy::upper_case_acronyms)]
enum PacketRef<'a> {
/// Unknown packet.
Unknown(&'a packet::Unknown),