chore(api): apply rustfmt across modules and tests

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Chengdong Zhang
2026-09-21 18:52:52 +08:00
co-authored by Cursor
parent 6c1357ec4d
commit a4ef6ca49e
46 changed files with 495 additions and 334 deletions
+10 -2
View File
@@ -146,7 +146,11 @@ async fn summary_is_owned_and_entries_are_append_only() {
.send()
.await
.unwrap();
assert_eq!(res.status(), status, "{method} /api/me/stats must not mutate");
assert_eq!(
res.status(),
status,
"{method} /api/me/stats must not mutate"
);
}
let res = client()
.get(app.url("/api/me/stats/entries"))
@@ -154,7 +158,11 @@ async fn summary_is_owned_and_entries_are_append_only() {
.send()
.await
.unwrap();
assert_eq!(res.status(), 404, "the public ledger listing stays out of scope");
assert_eq!(
res.status(),
404,
"the public ledger listing stays out of scope"
);
}
#[tokio::test]