Fix derive partial eq without eq

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-09 05:20:31 +00:00
parent 67f4285504
commit b525031a25
2 changed files with 1 additions and 2 deletions

View file

@ -715,7 +715,6 @@ correctness = "warn"
nursery = "warn" nursery = "warn"
## some sadness ## some sadness
derive_partial_eq_without_eq = { level = "allow", priority = 1 } # TODO
equatable_if_let = { level = "allow", priority = 1 } # TODO equatable_if_let = { level = "allow", priority = 1 } # TODO
future_not_send = { level = "allow", priority = 1 } # TODO future_not_send = { level = "allow", priority = 1 } # TODO
missing_const_for_fn = { level = "allow", priority = 1 } # TODO missing_const_for_fn = { level = "allow", priority = 1 } # TODO

View file

@ -233,7 +233,7 @@ impl Arena {
} }
// Note: perhaps use some better form of token rather than just room count // Note: perhaps use some better form of token rather than just room count
#[derive(Debug, PartialEq)] #[derive(Debug, Eq, PartialEq)]
pub struct PagnationToken { pub struct PagnationToken {
pub skip: UInt, pub skip: UInt,
pub limit: UInt, pub limit: UInt,