]> Untitled Git - lemmy.git/commitdiff
Fix new compiler warning
authorFelix Ableitner <me@nutomic.com>
Thu, 18 Feb 2021 15:16:18 +0000 (16:16 +0100)
committerFelix Ableitner <me@nutomic.com>
Thu, 18 Feb 2021 15:16:18 +0000 (16:16 +0100)
crates/apub/src/fetcher/search.rs

index 9f465f76851b14d820d1282e68b1fd0eb90b664d..a831ac404028dd15eead65d0d5c0027d0d561dde 100644 (file)
@@ -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>),