TTao ChenFix typographical errors
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix some typos fix some typos by tool: https://crates.io/crates/typos Signed-off-by: yezengruan <yezengruan@huawei.com> | 3 年前 | |
Error: Replace ok_or_else() with with_context() Keep error generation style same. And anyhow! is not required when using with_context. Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com> | 3 年前 | |
code comment format standardization Use the following rustfmt configurations to standardize the comment format: comment_width = 100 wrap_comments = true normalize_comments = true format_code_in_doc_comments = true These are unstable configurations of rustfmt, which can only be checked with cargo +nightly fmt --all, currently will not be integrated into CI. Signed-off-by: boby.chen <boby.chen@huawei.com> | 2 年前 | |
replace error-chain with thiserror+anyhow | 3 年前 | |
Refactor: reduce the unsafe code block Replace some unsafe code block with safe function in nix. Signed-off-by: Xiao Ye <yexiao7@huawei.com> | 2 年前 | |
Replace the ExitCode trait with the std::process::ExitCode. The ExitCode trait is defined in the code to obtain the status code when the main process is terminated. As of rustc 1.61.0, the standard library defines std::process::ExitCode to do the same thing, so the ExitCode trait defined in the code is replaced with std::process::ExitCode. Signed-off-by: Yan Wen <yan_ace62@126.com> | 2 年前 | |
format: Modify package reference location Package reference location: extern crate thirdparty; pub mod ...; mod ...; pub use std::...; pub use thirdparty::...; pub use internal::...; use std::...; use thirdparty::...; use internal::...; Modify format only. No functional change. Signed-off-by: liuxiangdong <liuxiangdong5@huawei.com> | 2 年前 | |
Fix typographical errors Signed-off-by: Fan Xuan Zhe <fanxuanzhe@huawei.com> Signed-off-by: Tao Chen <boby.chen@huawei.com> | 7 个月前 |