
adminandClaude Code
19d0d93bff
style: 全仓 cargo fmt(清掉 13 个文件的历史格式漂移)
**影响**
- 改动前:`cargo fmt --check` 报 13 个文件漂移 ⇒ 新代码容易跟着旧风格走,
review diff 噪声大。
- 改动后:`cargo fmt --check` 干净;**零行为变更**(纯排版,
`cargo test` 222 passed / 0 failed / 1 ignored,`cargo clippy -D warnings` 干净)。
**改动**
- `src/{account,auth,codec,crud,db,envelope,ids,protocol,registry,session}.rs`、
`src/domain/identity.rs`、`src/routes/health.rs`、`tests/account_api.rs`:
统一 rustfmt 排版(长行折行、match 分支、struct 字面量多行展开等)。
**设计**
- 单独一笔 style 提交,与语义改动(`fix(crud)`)分开 ⇒ review 时格式噪声可整笔跳过。
- 不引入 `rustfmt.toml`:沿用默认配置,避免与上游风格分叉。
Co-Authored-By: Claude Code <[email protected]>
2026-10-25 15:10:15 +08:00
..
2026-10-25 15:10:15 +08:00
2026-10-25 15:10:15 +08:00
2026-10-25 13:21:27 +08:00
2026-10-25 15:10:15 +08:00
2026-10-25 15:10:15 +08:00
2026-10-25 11:23:12 +08:00
2026-10-25 15:10:15 +08:00
2026-10-25 13:18:15 +08:00
2026-10-25 15:10:15 +08:00
2026-10-25 15:10:15 +08:00
2026-10-25 15:10:15 +08:00
2026-10-25 15:10:15 +08:00
2026-10-25 13:21:27 +08:00
2026-10-25 13:16:41 +08:00
2026-10-25 15:10:15 +08:00
2026-10-25 15:10:15 +08:00
2026-10-25 15:10:15 +08:00
2026-10-25 13:33:04 +08:00