mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 11:28:29 +00:00
Translation of comments into English, minor changes for completeness.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user