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 /ipc | |
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 'ipc')
-rw-r--r-- | ipc/src/assuan/lexer.rs | 1 | ||||
-rw-r--r-- | ipc/src/sexp/parse/lexer.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ipc/src/assuan/lexer.rs b/ipc/src/assuan/lexer.rs index 146a6086..5282d786 100644 --- a/ipc/src/assuan/lexer.rs +++ b/ipc/src/assuan/lexer.rs @@ -24,6 +24,7 @@ pub(crate) type LexerItem<Token, Loc, LexicalError> = Spanned<Token, Loc, LexicalError>; #[derive(Debug, Clone, Copy)] +#[allow(clippy::upper_case_acronyms)] pub enum Token { SPACE, HASH, diff --git a/ipc/src/sexp/parse/lexer.rs b/ipc/src/sexp/parse/lexer.rs index 29f3f545..902a5d08 100644 --- a/ipc/src/sexp/parse/lexer.rs +++ b/ipc/src/sexp/parse/lexer.rs @@ -27,6 +27,7 @@ pub(crate) type LexerItem<Token, Loc, LexicalError> = Spanned<Token, Loc, LexicalError>; #[derive(Debug, Clone, PartialEq)] +#[allow(clippy::upper_case_acronyms)] pub enum Token<'a> { LPAREN, RPAREN, |