Skip to content

Commit

Permalink
fix cargo clippy check
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Jul 6, 2023
1 parent 5d23b94 commit 96624ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,6 @@ fn build_config(log: &LogConfig) -> SimpleResult<Config> {
fn init_default_log(log: &mut LogConfig) {
if log.path.trim().is_empty() {
let file_name = std::env::vars()
.into_iter()
.filter(|(k, _)| k == "CARGO_PKG_NAME")
.map(|(_, v)| v.to_case(Case::Snake))
.collect::<Vec<_>>()
Expand Down

0 comments on commit 96624ae

Please sign in to comment.