Derive PartialEq and Eq to use assertEq in tests
This commit is contained in:
parent
b758246b12
commit
ce075524c8
|
@ -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