chore: cleanup code

This commit is contained in:
Zomatree
2023-03-15 19:47:30 +00:00
parent 0321eff62b
commit f309218573
11 changed files with 11 additions and 29 deletions

View File

@@ -31,7 +31,7 @@ struct Entry {
reset: u128,
}
static MAP: Lazy<DashMap<u64, Entry>> = Lazy::new(|| DashMap::new());
static MAP: Lazy<DashMap<u64, Entry>> = Lazy::new(DashMap::new);
/// Get the current time from Unix Epoch as a Duration
fn now() -> Duration {