From: Dessalines Date: Mon, 11 Apr 2022 22:51:11 +0000 (-0400) Subject: Clippy fixes. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/readmes/%7Bpost.url%7D?a=commitdiff_plain;h=0bcdfa8be410755f04b84048d7f25362fc5427af;p=lemmy.git Clippy fixes. --- diff --git a/crates/apub_lib/src/object_id.rs b/crates/apub_lib/src/object_id.rs index 6a2d3d57..c68b5b37 100644 --- a/crates/apub_lib/src/object_id.rs +++ b/crates/apub_lib/src/object_id.rs @@ -128,7 +128,7 @@ where let res2: Kind::ApubType = res.json().await?; Kind::verify(&res2, self.inner(), data, request_counter).await?; - Ok(Kind::from_apub(res2, data, request_counter).await?) + Kind::from_apub(res2, data, request_counter).await } }