From 69ead52eb88680f2aac63c97677ae96bc732e41b Mon Sep 17 00:00:00 2001 From: phiresky Date: Thu, 11 Jul 2024 15:35:20 +0200 Subject: [PATCH] lint --- crates/federate/src/worker.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/federate/src/worker.rs b/crates/federate/src/worker.rs index dd307fc7d..e2118eea7 100644 --- a/crates/federate/src/worker.rs +++ b/crates/federate/src/worker.rs @@ -421,7 +421,6 @@ mod test { use lemmy_api_common::utils::{generate_inbox_url, generate_shared_inbox_url}; use lemmy_db_schema::{ newtypes::DbUrl, - schema::received_activity, source::{ activity::{ActorType, SentActivity, SentActivityForm}, person::{Person, PersonInsertForm}, @@ -733,7 +732,7 @@ mod test { a.data["id"] .as_str() .unwrap() - .cmp(&b.data["id"].as_str().unwrap()) + .cmp(b.data["id"].as_str().unwrap()) }); } // receive for successfully sent activity