mirror of
https://git.proxmox.com/git/proxmox
synced 2025-04-28 05:36:46 +00:00
network-api: ignore clippy lint about upper case acronyms
while the lint is correct about how these enum members should be capitalized, the enum is marked as `pub` and all users of it would need to adapt. so ignore the lint for now [1]. [1]: https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
This commit is contained in:
parent
730f908458
commit
4fc074b4ba
@ -4,6 +4,7 @@ use std::iter::Iterator;
|
||||
use std::sync::LazyLock;
|
||||
|
||||
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||
#[allow(clippy::upper_case_acronyms)]
|
||||
pub enum Token {
|
||||
Text,
|
||||
Comment,
|
||||
|
Loading…
Reference in New Issue
Block a user