Enabled clippy warnings and fixed them

This commit is contained in:
StNicolay committed 2023-11-16 21:51:46 +03:00
1 parent f0116b3207
commit 6ae745fcd4
21 files changed
+129 -163

No files matched your search

+1 -1
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;