Enabled clippy warnings and fixed them

This commit is contained in:
2023-11-16 21:51:46 +03:00
parent f0116b3207
commit 6ae745fcd4
21 changed files with 129 additions and 163 deletions

View File

@ -12,7 +12,7 @@ bitflags::bitflags! {
const SPECIAL_CHARACTER = 0b1000;
}
#[derive(PartialEq, Eq)]
#[derive(PartialEq, Eq, Clone, Copy)]
pub struct PasswordValidity: u8 {
const NO_LOWERCASE = 0b00001;
const NO_UPPERCASE = 0b00010;