Cargo fmt.

This commit is contained in:
Paul Makles
2021-01-19 13:07:11 +00:00
parent 8bb694a1c8
commit 3a63d502d9
4 changed files with 12 additions and 11 deletions

View File

@@ -66,7 +66,7 @@ pub async fn req(user: User, target: Ref) -> Result<()> {
target.publish_update(json!({ "owner": new_owner })).await?;
} else {
return target.delete().await
return target.delete().await;
}
} else {
get_collection("channels")

View File

@@ -50,5 +50,7 @@ pub async fn req(user: User, target: Ref, msg: Ref, edit: Json<Data>) -> Result<
with: "message",
})?;
message.publish_update(json!({ "content": edit.content, "edited": DateTime(edited) })).await
message
.publish_update(json!({ "content": edit.content, "edited": DateTime(edited) }))
.await
}