Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
callmeclover authored Apr 23, 2024
1 parent b4a8340 commit 0a44250
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/user/model.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use std::error::Error;
use rustrict::{Censor, Type};
use std::convert::AsRef;

#[derive(Clone)]
#[derive(Clone, AsRef)]
pub struct User {
pub name: String,
pub id: i32,
Expand All @@ -18,7 +19,7 @@ impl User {
}
}

#[derive(Clone)]
#[derive(Clone, AsRef)]
pub struct GlassModeration {
reports: i32,
warnings: i32,
Expand Down

0 comments on commit 0a44250

Please sign in to comment.