fix: apply automatic clippy fixes across workspace

This commit is contained in:
Riz Ashraf committed 2026-09-21 11:41:55 +01:00
1 parent 73ab5037d8
commit 5da422d23a
12 files changed
+99 -115

No files matched your search

+1 -1
View File
@@ -16,5 +16,5 @@ fn main() {
.unwrap_or_else(|| "unknown".to_string());
let version = format!("{} ({})", git_date.trim(), git_hash.trim());
println!("cargo:rustc-env=APP_VERSION={}", version);
println!("cargo:rustc-env=APP_VERSION={version}");
}
+1 -1
View File
@@ -4,7 +4,7 @@ use std::process::{Command, Stdio};
fn send_message(stdin: &mut std::process::ChildStdin, msg: Value) {
let s = serde_json::to_string(&msg).unwrap();
stdin.write_all(format!("{}\n", s).as_bytes()).unwrap();
stdin.write_all(format!("{s}\n").as_bytes()).unwrap();
stdin.flush().unwrap();
}