]> Untitled Git - lemmy.git/commitdiff
Clippy fixes.
authorDessalines <tyhou13@gmx.com>
Mon, 11 Apr 2022 22:51:11 +0000 (18:51 -0400)
committerDessalines <tyhou13@gmx.com>
Mon, 11 Apr 2022 22:51:11 +0000 (18:51 -0400)
crates/apub_lib/src/object_id.rs

index 6a2d3d57c512eccdc564dc0f9d9e20c6869f1bc6..c68b5b37a4ef6a04db567a87312158a0d5c42a64 100644 (file)
@@ -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
   }
 }