Translation of comments into English, minor changes for completeness.

This commit is contained in:
alex-xr555
2026-09-15 18:32:12 +03:00
parent 0a140c75d8
commit 10123ddedb
6 changed files with 6 additions and 8 deletions

View File

@@ -161,7 +161,7 @@ pub fn add(args: &[String]) -> i32 {
let key = format!("dependencies.{}", add_args.name);
if let Err(err) = config.edit(&key, dep_value) {
error!("Failed to update dcr.toml: {}", err);
error!("Failed to update dcr.toml: {err}");
return 1;
}

View File

@@ -89,11 +89,11 @@ pub fn fmt(args: &[String]) -> i32 {
0
}
Ok(s) => {
error!("clang-format failed with status: {}", s);
error!("clang-format failed with status: {s}");
1
}
Err(e) => {
error!("Failed to execute clang-format: {}", e);
error!("Failed to execute clang-format: {e}");
1
}
}