mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-12 08:06:54 +00:00
fix:Apply suggestions from clippy 1.88
This commit is contained in:
@@ -261,11 +261,11 @@ fn fmt() {
|
||||
if status.success() {
|
||||
println!("cargo fmt executed successfully.");
|
||||
} else {
|
||||
eprintln!("cargo fmt failed with status: {:?}", status);
|
||||
eprintln!("cargo fmt failed with status: {status:?}");
|
||||
}
|
||||
}
|
||||
Err(e) => {
|
||||
eprintln!("Failed to execute cargo fmt: {}", e);
|
||||
eprintln!("Failed to execute cargo fmt: {e}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user