fixed some clippy warnings

This commit is contained in:
euzu
2025-07-29 18:19:13 +02:00
parent 4ada26c207
commit 5128046647
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ impl ConfigInputDto {
Ok(())
}
pub fn prepare_batch(&mut self, mut batch_aliases: Vec<ConfigInputAliasDto>) {
pub fn prepare_batch(&mut self, batch_aliases: Vec<ConfigInputAliasDto>) {
apply_batch_aliases!(self, batch_aliases);
}
}
+1 -1
View File
@@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};
pub const PROTOCOL_VERSION: u8 = 1;
#[derive(Default)]
#[derive(Default, PartialOrd, PartialEq, Debug, Clone)]
pub enum UserRole {
#[default]
Unauthorized,