From 587b4f08bc3c8ef0663ccfbe346c2fa82afa20f0 Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Wed, 2 Oct 2024 09:20:20 -0400 Subject: [PATCH] For completeness' sake Signed-off-by: Alex Snaps --- limitador/src/counter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limitador/src/counter.rs b/limitador/src/counter.rs index e9f2b71a..6b533618 100644 --- a/limitador/src/counter.rs +++ b/limitador/src/counter.rs @@ -5,7 +5,7 @@ use std::hash::{Hash, Hasher}; use std::sync::Arc; use std::time::Duration; -#[derive(Eq, Clone, Debug, Serialize, Deserialize)] +#[derive(Eq, Clone, Debug, Serialize, Deserialize, PartialEq)] pub struct Counter { limit: Arc,