mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-17 13:22:19 +02:00
fixed some clippy warnings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user