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/regex | |
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/regex')
-rw-r--r-- | openpgp/src/regex/lexer.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/regex/lexer.rs b/openpgp/src/regex/lexer.rs index 3d6c1e45..30a0df8b 100644 --- a/openpgp/src/regex/lexer.rs +++ b/openpgp/src/regex/lexer.rs @@ -23,6 +23,7 @@ pub(crate) type LexerItem<Token, Loc, LexicalError> /// The components of an OpenPGP Message. #[derive(Debug, Clone, PartialEq)] +#[allow(clippy::upper_case_acronyms)] pub enum Token { PIPE, |