From b525031a254f2b95e0ed20fc4c78de02e138328f Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 9 Jun 2024 05:20:31 +0000 Subject: [PATCH] Fix derive partial eq without eq Signed-off-by: Jason Volk --- Cargo.toml | 1 - src/service/rooms/spaces/mod.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7c263042..a6cce3f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -715,7 +715,6 @@ correctness = "warn" nursery = "warn" ## some sadness -derive_partial_eq_without_eq = { level = "allow", priority = 1 } # TODO equatable_if_let = { level = "allow", priority = 1 } # TODO future_not_send = { level = "allow", priority = 1 } # TODO missing_const_for_fn = { level = "allow", priority = 1 } # TODO diff --git a/src/service/rooms/spaces/mod.rs b/src/service/rooms/spaces/mod.rs index 72ebaf4a..fec3fdcc 100644 --- a/src/service/rooms/spaces/mod.rs +++ b/src/service/rooms/spaces/mod.rs @@ -233,7 +233,7 @@ impl Arena { } // Note: perhaps use some better form of token rather than just room count -#[derive(Debug, PartialEq)] +#[derive(Debug, Eq, PartialEq)] pub struct PagnationToken { pub skip: UInt, pub limit: UInt,