Skip to content

Commit

Permalink
eliminate unnecessary line
Browse files Browse the repository at this point in the history
  • Loading branch information
zephyrchien committed Feb 21, 2024
1 parent f3220e5 commit dd5461f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/conf/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ impl Config for LogConf {
"stdout" => io::stdout().into(),
"stderr" => io::stderr().into(),
output => OpenOptions::new()
.write(true)
.create(true)
.append(true)
.create(true)
.open(output)
.unwrap_or_else(|e| panic!("failed to open {}: {}", output, &e))
.into(),
Expand Down

0 comments on commit dd5461f

Please sign in to comment.