Derive PartialEq and Eq to use assertEq in tests
This commit is contained in:
parent
a8a4da36c7
commit
384d42e877
|
@ -134,7 +134,7 @@ pub mod limits {
|
|||
pub absoluteRate: AbsoluteRate,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub struct Limit {
|
||||
pub bucket: LimitType,
|
||||
pub limit: u64,
|
||||
|
|
Loading…
Reference in New Issue