diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-11-22 14:18:15 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-11-29 11:53:55 +0100 |
commit | 4ecbe9e0348b2d56e2d5431aac54c342a08ca1a6 (patch) | |
tree | 0cbd589baf1bf39ce1ed1d87c2af39c2b05566a5 /openpgp/src/parse.rs | |
parent | f63f3181c87877a5a5b261d0f1e206615de613f6 (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/parse.rs')
-rw-r--r-- | openpgp/src/parse.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/parse.rs b/openpgp/src/parse.rs index fe2f3db5..4bd93fff 100644 --- a/openpgp/src/parse.rs +++ b/openpgp/src/parse.rs @@ -605,6 +605,7 @@ impl<'a, T: 'a + BufferedReader<Cookie>> PacketHeaderParser<T> { /// What the hash in the Cookie is for. #[derive(Copy, Clone, PartialEq, Debug)] +#[allow(clippy::upper_case_acronyms)] pub(crate) enum HashesFor { Nothing, MDC, @@ -3339,6 +3340,7 @@ impl<'a> std::fmt::Debug for PacketParser<'a> { } /// The return value of PacketParser::parse. +#[allow(clippy::upper_case_acronyms)] enum ParserResult<'a> { Success(PacketParser<'a>), EOF((Box<dyn BufferedReader<Cookie> + 'a>, PacketParserState, Vec<usize>)), |