From: Dessalines Date: Mon, 11 Apr 2022 22:51:11 +0000 (-0400) Subject: Clippy fixes. X-Git-Url: http://these/git/%22https:/nerdica.net/%7B%24%7B%60data:application/static/%24%7B%60data:application/%7Bthis.src%28%27jpg%27%29%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 } }