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:
Shannon Sterz 2025-03-06 13:43:46 +01:00 committed by Wolfgang Bumiller
parent 730f908458
commit 4fc074b4ba

View File

@ -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,