Fix Rust linter errors

This commit is contained in:
Josh Wu
2025-07-02 12:32:41 +08:00
parent 88777710a4
commit 3cb97d2373
6 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -127,7 +127,7 @@ async fn main() -> PyResult<()> {
} else {
matching
.iter()
.map(|t| format!("{}", t))
.map(|t| format!("{t}"))
.join(" / ")
.blue()
.to_string()
@@ -148,7 +148,7 @@ async fn main() -> PyResult<()> {
.next()
.unwrap_or_else(|| format!("0x{}", hex::encode_upper(&data)));
println!(" [{}]: {}", code_str, data_str)
println!(" [{code_str}]: {data_str}")
});
Ok(())