Enable more lints

This commit is contained in:
Andras Schmelczer 2024-12-18 21:33:30 +00:00
parent 3f73578fc9
commit da0e5f7373
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
12 changed files with 17 additions and 12 deletions

View file

@ -21,7 +21,7 @@ pub struct User {
impl Default for UserConfig {
fn default() -> Self {
UserConfig {
Self {
user_tokens: default_users(),
}
}
@ -29,7 +29,7 @@ impl Default for UserConfig {
fn default_users() -> Vec<User> {
vec![User {
name: "admin".to_string(),
name: "admin".to_owned(),
token: get_random_token(),
}]
}