style: 应用 Rust 格式化

This commit is contained in:
Illuminated2020 committed 2026-05-12 16:49:29 +08:00
1 parent 67a7ef4746
commit 5b62f936d1
6 files changed
+38 -47

No files matched your search

+1 -4
View File
@@ -4,10 +4,7 @@ mod runtime_client;
#[tokio::main]
async fn main() {
if let Err(err) = commands::run(std::env::args().skip(1).collect()).await {
println!(
"{}",
serde_json::to_string_pretty(&err).unwrap_or_else(|_| "{\"ok\":false}".to_string())
);
println!("{}", serde_json::to_string_pretty(&err).unwrap_or_else(|_| "{\"ok\":false}".to_string()));
std::process::exit(1);
}
}