mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
chore: cleanup and addressing clippy lints
This commit is contained in:
12
src/stats.rs
12
src/stats.rs
@@ -50,12 +50,12 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl Clone for Box<dyn CloneStats> {
|
||||
fn clone(&self) -> Self {
|
||||
self.clone()
|
||||
//(*self).clone_stats()
|
||||
}
|
||||
}
|
||||
//impl Clone for Box<dyn CloneStats> {
|
||||
// fn clone(&self) -> Self {
|
||||
// Box::clone(self)
|
||||
// //(*self).clone_stats()
|
||||
// }
|
||||
//}
|
||||
|
||||
#[derive(Debug, Default, PartialEq, Clone, Deserialize, Serialize)]
|
||||
pub struct CaptchaStats {
|
||||
|
||||
Reference in New Issue
Block a user