From d3707ad4ef3817205f3cc8002dca0d493ded29d3 Mon Sep 17 00:00:00 2001 From: Felix Ableitner <me@nutomic.com> Date: Thu, 18 Feb 2021 16:16:18 +0100 Subject: [PATCH] Fix new compiler warning --- crates/apub/src/fetcher/search.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/apub/src/fetcher/search.rs b/crates/apub/src/fetcher/search.rs index 9f465f76..a831ac40 100644 --- a/crates/apub/src/fetcher/search.rs +++ b/crates/apub/src/fetcher/search.rs @@ -41,8 +41,8 @@ use log::debug; use url::Url; /// The types of ActivityPub objects that can be fetched directly by searching for their ID. -#[serde(untagged)] #[derive(serde::Deserialize, Debug)] +#[serde(untagged)] enum SearchAcceptedObjects { Person(Box<PersonExt>), Group(Box<GroupExt>), -- 2.44.1