]> git.proxmox.com Git - ui/proxmox-yew-comp.git/commitdiff
tree wide: ignore clippy lint `enum_variant_names` for public enums
authorShannon Sterz <s.sterz@proxmox.com>
Fri, 27 Dec 2024 12:59:43 +0000 (13:59 +0100)
committerShannon Sterz <s.sterz@proxmox.com>
Tue, 7 Jan 2025 09:08:29 +0000 (10:08 +0100)
if the clippy lint is implemented here, this would break a public
interface, so just ignore the lint for now.

src/task_status_selector.rs
src/tfa/tfa_add_recovery.rs

index aa8d496b65ca2e851080ee7b7a0daf809174a3e3..00b173fc51d8ab83f0248da244ecf9349f3f497d 100644 (file)
@@ -26,6 +26,7 @@ impl TaskStatusSelector {
     }
 }
 
+#[allow(clippy::enum_variant_names)]
 pub enum Msg {
     ToggleAll,
     ToggleOk,
index eefedbb732d99e58e6c31511b33f1b608b31a3d8..6b4bb76ad323d8e7102f18369d3f2d12843acbc2 100644 (file)
@@ -71,6 +71,7 @@ pub struct RecoveryKeyInfo {
     keys: Vec<String>,
 }
 
+#[allow(clippy::enum_variant_names)]
 pub enum Msg {
     RecoveryKeys(RecoveryKeyInfo),
     ShowKeys,